1+ name : CI_X86
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ branches :
8+ - master
9+ jobs :
10+ SequentialTests :
11+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ version :
17+ - ' 1.9'
18+ os :
19+ - ubuntu-latest
20+ arch :
21+ - x86
22+ steps :
23+ - uses : actions/checkout@v2
24+ - uses : julia-actions/setup-julia@v1
25+ with :
26+ version : ${{ matrix.version }}
27+ arch : ${{ matrix.arch }}
28+ - uses : actions/cache@v1
29+ env :
30+ cache-name : cache-artifacts
31+ with :
32+ path : ~/.julia/artifacts
33+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
34+ restore-keys : |
35+ ${{ runner.os }}-test-${{ env.cache-name }}-
36+ ${{ runner.os }}-test-
37+ ${{ runner.os }}-
38+ - uses : julia-actions/julia-buildpkg@v1
39+ - run : julia --project=. -e 'using Pkg; Pkg.instantiate()'
40+ - run : julia --project=. --color=yes --check-bounds=yes test/sequential/runtests.jl
41+ MPITests :
42+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
43+ runs-on : ${{ matrix.os }}
44+ strategy :
45+ fail-fast : false
46+ matrix :
47+ version :
48+ - ' 1.9'
49+ os :
50+ - ubuntu-latest
51+ arch :
52+ - x86
53+ steps :
54+ - uses : actions/checkout@v2
55+ - uses : actions/cache@v1
56+ env :
57+ cache-name : cache-artifacts
58+ with :
59+ path : ~/.julia/artifacts
60+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
61+ restore-keys : |
62+ ${{ runner.os }}-test-${{ env.cache-name }}-
63+ ${{ runner.os }}-test-
64+ ${{ runner.os }}-
65+ - uses : julia-actions/setup-julia@v1
66+ with :
67+ version : ${{ matrix.version }}
68+ arch : ${{ matrix.arch }}
69+ # - uses: julia-actions/julia-buildpkg@v1
70+ - run : |
71+ julia --project=test/TestApp/ -e '
72+ using Pkg
73+ Pkg.develop(PackageSpec(path=pwd()))
74+ Pkg.instantiate()'
75+ - run : cd test/TestApp/compile; ./compile.sh
76+ - run : julia --project=test/TestApp/ --color=yes --check-bounds=yes test/mpi/runtests.jl test/TestApp/compile/TestApp.so
0 commit comments