File tree Expand file tree Collapse file tree 1 file changed +28
-11
lines changed Expand file tree Collapse file tree 1 file changed +28
-11
lines changed Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
jobs :
9
9
test :
10
- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
10
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - assertions=${{ matrix.assertions }}
11
11
runs-on : ${{ matrix.os }}
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
15
- version :
16
- - ' 1.6'
17
- - ' ^1.7.0-beta2'
18
- - ' nightly'
19
- os :
20
- - ubuntu-latest
21
- - macOS-latest
22
- - windows-latest
23
- arch :
24
- - x64
15
+ version : ['1.6', '1.7', '^1.8.0-beta1', 'nightly']
16
+ os : [ubuntu-latest, macOS-latest, windows-latest]
17
+ arch : [x64]
18
+ assertions : [false]
19
+ include :
20
+ # special test with LLVM assertions enabled
21
+ # TODO: enable this across all versions
22
+ # (needs julia-actions/setup-julia support)
23
+ - os : ubuntu-latest
24
+ arch : x64
25
+ version : ' 1.7'
26
+ assertions : true
27
+ - os : ubuntu-latest
28
+ arch : x64
29
+ version : ' 1.8'
30
+ assertions : true
25
31
steps :
26
32
- uses : actions/checkout@v2
27
33
- uses : julia-actions/setup-julia@v1
34
+ if : ${{ ! matrix.assertions }}
28
35
with :
29
36
version : ${{ matrix.version }}
30
37
arch : ${{ matrix.arch }}
38
+ - name : Download Julia with assertions
39
+ if : ${{ matrix.assertions }}
40
+ env :
41
+ version : ${{ matrix.version }}
42
+ arch : ${{ matrix.arch }}
43
+ run : |
44
+ wget https://julialangnightlies.s3.amazonaws.com/assert_bin/linux/$arch/$version/julia-latest-linux64.tar.gz
45
+ tar -xvzf julia-latest-linux64.tar.gz
46
+ rm -rf julia-latest-linux64.tar.gz
47
+ echo $PWD/julia-*/bin >> $GITHUB_PATH
31
48
- uses : actions/cache@v1
32
49
env :
33
50
cache-name : cache-artifacts
You can’t perform that action at this time.
0 commit comments