File tree 2 files changed +35
-20
lines changed
2 files changed +35
-20
lines changed Original file line number Diff line number Diff line change @@ -3,24 +3,24 @@ name: CI
3
3
on :
4
4
pull_request :
5
5
paths :
6
- - ' .github/workflows/CI.yml'
7
- - ' ext/**'
8
- - ' lib/**'
9
- - ' src/**'
10
- - ' test/**'
11
- - ' Project.toml'
6
+ - " .github/workflows/CI.yml"
7
+ - " ext/**"
8
+ - " lib/**"
9
+ - " src/**"
10
+ - " test/**"
11
+ - " Project.toml"
12
12
push :
13
13
branches :
14
14
- main
15
15
- release-*
16
- tags : ' * '
16
+ tags : " * "
17
17
paths :
18
- - ' .github/workflows/CI.yml'
19
- - ' ext/**'
20
- - ' lib/**'
21
- - ' src/**'
22
- - ' test/**'
23
- - ' Project.toml'
18
+ - " .github/workflows/CI.yml"
19
+ - " ext/**"
20
+ - " lib/**"
21
+ - " src/**"
22
+ - " test/**"
23
+ - " Project.toml"
24
24
25
25
concurrency :
26
26
# Skip intermediate builds: always.
37
37
fail-fast : false
38
38
matrix :
39
39
version :
40
- - ' 1.10'
41
- - ' 1.11'
40
+ - " 1.10"
41
+ - " 1.11"
42
42
# - 'nightly'
43
43
os :
44
44
- ubuntu-24.04
@@ -60,17 +60,17 @@ jobs:
60
60
- false
61
61
include :
62
62
- os : ubuntu-24.04
63
- version : ' 1.10'
63
+ version : " 1.10"
64
64
assertions : true
65
65
test_group : core
66
66
runtime : " PJRT"
67
67
- os : ubuntu-24.04
68
- version : ' 1.10'
68
+ version : " 1.10"
69
69
assertions : true
70
70
test_group : neural_networks
71
71
runtime : " PJRT"
72
72
- os : ubuntu-24.04
73
- version : ' 1.10'
73
+ version : " 1.10"
74
74
assertions : true
75
75
test_group : integration
76
76
runtime : " PJRT"
96
96
- uses : actions/checkout@v4
97
97
if : ${{ matrix.assertions }}
98
98
with :
99
- repository : ' JuliaLang/julia'
99
+ repository : " JuliaLang/julia"
100
100
ref : release-${{ matrix.version }}
101
- path : ' julia'
101
+ path : " julia"
102
102
- name : Compile Julia
103
103
if : ${{ matrix.assertions }}
104
104
run : |
@@ -141,6 +141,15 @@ jobs:
141
141
REACTANT_TEST_GROUP : ${{ matrix.test_group }}
142
142
XLA_FLAGS : " --xla_force_host_platform_device_count=12"
143
143
JULIA_DEBUG : " Reactant,Reactant_jll"
144
+ - name : Upload MLIR modules
145
+ uses : actions/upload-artifact@v4
146
+ timeout-minutes : 10
147
+ if : ${{ always() }}
148
+ with :
149
+ name : " simulation-mlir-${{ matrix.version }} - ${{ matrix.test_group }} - ${{ matrix.os }} - ${{ matrix.runtime }} - assertions=${{ matrix.assertions }} - ${{ github.event_name }}"
150
+ path : " **/*.mlir"
151
+ retention-days : 90
152
+ overwrite : false
144
153
- uses : julia-actions/julia-processcoverage@v1
145
154
- uses : codecov/codecov-action@v5
146
155
with :
Original file line number Diff line number Diff line change 1
1
using Reactant, SafeTestsets, Test
2
2
3
+ # If we are in GitHub Actions, make `TMPDIR` be a local directory from which we
4
+ # can upload artifacts at the end.
5
+ if get (ENV , " GITHUB_ACTIONS" , " false" ) == " true"
6
+ ENV [" TMPDIR" ] = mkpath (joinpath (@__DIR__ , " .." , " tmp" ))
7
+ end
8
+
3
9
# parse some command-line arguments
4
10
function extract_flag! (args, flag, default= nothing ; typ= typeof (default))
5
11
for f in args
You can’t perform that action at this time.
0 commit comments