66 pull_request :
77 workflow_dispatch :
88jobs :
9- binary_test :
9+ test :
1010 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
1111 runs-on : ${{ matrix.os }}
1212 strategy :
1313 fail-fast : false
1414 matrix :
15- version : ['1.6', '1.7', '^ 1.8.0-beta3 ', 'nightly']
15+ version : ['1.6', '1.7', '1.8', 'nightly']
1616 os : [ubuntu-latest, macOS-latest, windows-latest]
1717 arch : [x64]
1818 steps :
19- - uses : actions/checkout@v2
19+ - uses : actions/checkout@v3
20+ with :
21+ fetch-depth : 0 # build_ci.jl needs to be able to inspect the git log
2022 - uses : julia-actions/setup-julia@v1
2123 with :
2224 version : ${{ matrix.version }}
@@ -32,55 +34,10 @@ jobs:
3234 ${{ runner.os }}-test-
3335 ${{ runner.os }}-
3436 - uses : julia-actions/julia-buildpkg@v1
35- - name : Run tests
36- run : |
37- julia --project -e 'using Pkg; Pkg.test(; coverage=true, julia_args=`-g2`)'
38- - uses : julia-actions/julia-processcoverage@v1
39- - uses : codecov/codecov-action@v1
40- with :
41- file : lcov.info
42-
43- # development versions of Julia, built with assertions enabled.
44- # we also build LLVMExtra from source here.
45- source_test :
46- name : Julia ${{ matrix.branch }} - ${{ matrix.os }} - ${{ matrix.arch }}
47- runs-on : ${{ matrix.os }}
48- strategy :
49- fail-fast : false
50- matrix :
51- branch : ['release-1.7', 'release-1.8', 'master']
52- os : [ubuntu-latest, macOS-latest]
53- arch : [x64]
54- assertions : [false]
55- steps :
56- - uses : actions/checkout@v2
57- - uses : actions/checkout@v2
58- with :
59- repository : ' JuliaLang/julia'
60- ref : ${{ matrix.branch }}
61- path : ' julia'
62- - name : Compile Julia
63- run : |
64- make -C julia -j $(nproc) FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1 JULIA_PRECOMPILE=0
65- echo $PWD/julia/usr/bin >> $GITHUB_PATH
66- - uses : actions/cache@v1
67- env :
68- cache-name : cache-artifacts
69- with :
70- path : ~/.julia/artifacts
71- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
72- restore-keys : |
73- ${{ runner.os }}-test-${{ env.cache-name }}-
74- ${{ runner.os }}-test-
75- ${{ runner.os }}-
76- - uses : julia-actions/julia-buildpkg@v1
7737 - name : Build libLLVMExtra
78- run : |
79- julia --project=deps -e 'using Pkg; Pkg.instantiate()'
80- julia --project=deps deps/build_local.jl
38+ run : julia --project=deps deps/build_ci.jl
8139 - name : Run tests
82- run : |
83- julia --project -e 'using Pkg; Pkg.test(; coverage=true, julia_args=`-g2`)'
40+ run : julia --project -e 'using Pkg; Pkg.test(; coverage=true, julia_args=`-g2`)'
8441 - uses : julia-actions/julia-processcoverage@v1
8542 - uses : codecov/codecov-action@v1
8643 with :
0 commit comments