17
17
fail-fast : false
18
18
matrix :
19
19
version :
20
- - ' 1.11 '
20
+ - ' lts '
21
21
os :
22
22
- ubuntu-latest
23
23
arch :
44
44
fail_ci_if_error : false
45
45
if : ${{ matrix.version != 'nightly' }}
46
46
47
- upstream-dev-functional :
48
- name : Upstr Dev Functional
47
+ upstream-dev :
48
+ name : Upstream dev JL${{ matrix.version }} - ${{ matrix.group }}
49
49
runs-on : ubuntu-latest
50
50
env :
51
51
JULIA_PKG_SERVER : " "
@@ -55,105 +55,103 @@ jobs:
55
55
arch :
56
56
- x64
57
57
version :
58
- - ' ~1.12.0-0 '
58
+ - ' 1 '
59
59
group :
60
60
- ' basic_functional_group'
61
- steps :
62
- - uses : actions/checkout@v2
63
- - uses : julia-actions/setup-julia@v2
64
- with :
65
- version : ${{ matrix.version }}
66
- arch : ${{ matrix.arch }}
67
- - uses : actions/cache@v4
68
- env :
69
- cache-name : cache-artifacts
70
- with :
71
- path : ~/.julia/artifacts
72
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
73
- restore-keys : |
74
- ${{ runner.os }}-test-${{ env.cache-name }}-
75
- ${{ runner.os }}-test-
76
- ${{ runner.os }}-
77
- - run : |
78
- git config --global user.name Tester
79
- git config --global user.email te@st.er
80
- - name : Upst Dev Functional
81
- env :
82
- IIF_TEST_GROUP : ${{ matrix.group }}
83
- run : |
84
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="develop"));'
85
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="develop"));'
86
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.test("IncrementalInference"; coverage=false)'
87
- shell : bash
88
-
89
- upstream-dev-cases :
90
- name : Upstr Dev Test Cases
91
- runs-on : ubuntu-latest
92
- env :
93
- JULIA_PKG_SERVER : " "
94
- strategy :
95
- fail-fast : false
96
- matrix :
97
- arch :
98
- - x64
99
- version :
100
- - ' ~1.12.0-0'
101
- group :
102
61
- ' test_cases_group'
103
- steps :
104
- - uses : actions/checkout@v2
105
- - uses : julia-actions/setup-julia@v2
106
- with :
107
- version : ${{ matrix.version }}
108
- arch : ${{ matrix.arch }}
109
- - uses : actions/cache@v4
110
- env :
111
- cache-name : cache-artifacts
112
- with :
113
- path : ~/.julia/artifacts
114
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
115
- restore-keys : |
116
- ${{ runner.os }}-test-${{ env.cache-name }}-
117
- ${{ runner.os }}-test-
118
- ${{ runner.os }}-
119
- - run : |
120
- git config --global user.name Tester
121
- git config --global user.email te@st.er
122
- - name : Upstr Dev Cases
123
- env :
124
- IIF_TEST_GROUP : ${{ matrix.group }}
125
- run : |
126
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="develop"));'
127
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="develop"));'
128
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.test("IncrementalInference"; coverage=false)'
129
- shell : bash
130
-
131
- test-debug-group :
132
- needs : [ upstream-dev-functional ]
133
- name : JL${{ matrix.version }} - ${{ matrix.group }} - ${{ matrix.os }}
134
- runs-on : ${{ matrix.os }}
135
- env :
136
- JULIA_PKG_SERVER : " "
137
- strategy :
138
- fail-fast : false
139
- matrix :
140
- os :
141
- - ubuntu-latest
142
- version :
143
- - ' ~1.12.0-0'
144
- arch :
145
- - x64
146
- group :
147
62
- ' tmp_debug_group'
148
- continue-on-error : true
149
63
steps :
150
- - uses : actions/checkout@v2
64
+ - uses : actions/checkout@v4
151
65
- uses : julia-actions/setup-julia@v2
152
66
with :
153
67
version : ${{ matrix.version }}
154
68
arch : ${{ matrix.arch }}
155
- - uses : julia-actions/cache@v1
156
- - uses : julia-actions/julia-buildpkg@v1
157
- - uses : julia-actions/julia-runtest@v1
69
+ - uses : julia-actions/cache@v2
70
+ # - run: |
71
+ # git config --global user.name Tester
72
+ # git config --global user.email te@st.er
73
+ - name : Dev dependencies
74
+ shell : julia --project=monorepo {0}
75
+ run : |
76
+ using Pkg;
77
+ Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="develop"))
78
+ Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="develop"));
79
+ Pkg.develop([PackageSpec(path="IncrementalInference"), PackageSpec(path="IncrementalInferenceTypes")]);
80
+ - name : Run tests
81
+ continue-on-error : ${{ matrix.group == 'tmp_debug_group' }}
158
82
env :
159
83
IIF_TEST_GROUP : ${{ matrix.group }}
84
+ run : >
85
+ julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("IncrementalInference")'
86
+
87
+ # upstream-dev-cases:
88
+ # name: Upstr Dev Test Cases
89
+ # runs-on: ubuntu-latest
90
+ # env:
91
+ # JULIA_PKG_SERVER: ""
92
+ # strategy:
93
+ # fail-fast: false
94
+ # matrix:
95
+ # arch:
96
+ # - x64
97
+ # version:
98
+ # - '~1.12.0-0'
99
+ # group:
100
+ # - 'test_cases_group'
101
+ # steps:
102
+ # - uses: actions/checkout@v2
103
+ # - uses: julia-actions/setup-julia@v2
104
+ # with:
105
+ # version: ${{ matrix.version }}
106
+ # arch: ${{ matrix.arch }}
107
+ # - uses: actions/cache@v4
108
+ # env:
109
+ # cache-name: cache-artifacts
110
+ # with:
111
+ # path: ~/.julia/artifacts
112
+ # key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
113
+ # restore-keys: |
114
+ # ${{ runner.os }}-test-${{ env.cache-name }}-
115
+ # ${{ runner.os }}-test-
116
+ # ${{ runner.os }}-
117
+ # - run: |
118
+ # git config --global user.name Tester
119
+ # git config --global user.email te@st.er
120
+ # - name: Upstr Dev Cases
121
+ # env:
122
+ # IIF_TEST_GROUP: ${{ matrix.group }}
123
+ # run: |
124
+ # julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="develop"));'
125
+ # julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="develop"));'
126
+ # julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.test("IncrementalInference"; coverage=false)'
127
+ # shell: bash
128
+
129
+ # test-debug-group:
130
+ # needs: [ upstream-dev-functional ]
131
+ # name: JL${{ matrix.version }} - ${{ matrix.group }} - ${{ matrix.os }}
132
+ # runs-on: ${{ matrix.os }}
133
+ # env:
134
+ # JULIA_PKG_SERVER: ""
135
+ # strategy:
136
+ # fail-fast: false
137
+ # matrix:
138
+ # os:
139
+ # - ubuntu-latest
140
+ # version:
141
+ # - '~1.12.0-0'
142
+ # arch:
143
+ # - x64
144
+ # group:
145
+ # - 'tmp_debug_group'
146
+ # continue-on-error: true
147
+ # steps:
148
+ # - uses: actions/checkout@v2
149
+ # - uses: julia-actions/setup-julia@v2
150
+ # with:
151
+ # version: ${{ matrix.version }}
152
+ # arch: ${{ matrix.arch }}
153
+ # - uses: julia-actions/cache@v1
154
+ # - uses: julia-actions/julia-buildpkg@v1
155
+ # - uses: julia-actions/julia-runtest@v1
156
+ # env:
157
+ # IIF_TEST_GROUP: ${{ matrix.group }}
0 commit comments