@@ -32,7 +32,8 @@ concurrency:
32
32
33
33
jobs :
34
34
test :
35
- name : Julia ${{ matrix.version }} - ${{ matrix.test_group }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.libReactant }} libReactant - assertions=${{ matrix.assertions }} - ${{ github.event_name }}
35
+ timeout-minutes : 90
36
+ name : Julia ${{ matrix.version }} - ${{ matrix.test_group }} - ${{ matrix.os }} - ${{ matrix.libReactant }} libReactant - assertions=${{ matrix.assertions }} - ${{ github.event_name }}
36
37
runs-on : ${{ matrix.os }}
37
38
strategy :
38
39
fail-fast : false
@@ -46,63 +47,49 @@ jobs:
46
47
# `ubuntu-22.04-arm` is considered more stable than `ubuntu-24.04-arm`:
47
48
# <https://github.com/orgs/community/discussions/148648#discussioncomment-12099554>.
48
49
- ubuntu-22.04-arm
50
+ - macOS-13
49
51
- macOS-latest
50
52
test_group :
51
53
- core
52
54
- neural_networks
53
55
- integration
54
- arch :
55
- - x64
56
- - aarch64
57
56
assertions :
58
57
- false
59
58
libReactant : [packaged]
60
59
include :
61
60
- os : ubuntu-24.04
62
- arch : x64
63
61
libReactant : packaged
64
62
version : ' 1.10'
65
63
assertions : true
66
64
test_group : core
67
65
- os : ubuntu-24.04
68
- arch : x64
69
66
libReactant : packaged
70
67
version : ' 1.10'
71
68
assertions : true
72
69
test_group : neural_networks
73
70
- os : ubuntu-24.04
74
- arch : x64
75
71
libReactant : packaged
76
72
version : ' 1.10'
77
73
assertions : true
78
74
test_group : integration
79
75
# - os: ubuntu-24.04
80
- # arch: x86
81
76
# libReactant: packaged
82
77
# version: '1.10'
83
78
# test_group: core
84
79
# - os: ubuntu-24.04
85
- # arch: x86
86
80
# libReactant: packaged
87
81
# version: '1.10'
88
82
# test_group: neural_networks
89
83
# - os: ubuntu-24.04
90
- # arch: x86
91
84
# libReactant: packaged
92
85
# version: '1.10'
93
86
# test_group: integration
94
- exclude :
95
- - os : ubuntu-24.04 # this is x86_64, exclude foreign architecture
96
- arch : aarch64
97
- - os : ubuntu-22.04-arm # this is aarch64, exclude foreign architecture
98
- arch : x64
99
87
steps :
100
88
- uses : actions/checkout@v4
101
89
- uses : julia-actions/setup-julia@v2
102
90
if : ${{ ! matrix.assertions }}
103
91
with :
104
92
version : ${{ matrix.version }}
105
- arch : ${{ matrix.arch }}
106
93
- uses : julia-actions/cache@v2
107
94
- uses : actions/checkout@v4
108
95
if : ${{ matrix.assertions }}
@@ -117,15 +104,15 @@ jobs:
117
104
make -C julia -j $(nproc) FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1 JULIA_PRECOMPILE=0
118
105
echo $PWD/julia/usr/bin >> $GITHUB_PATH
119
106
- name : Build libReactant
120
- if : ${{ matrix.libReactant == 'local' && matrix.os != 'macOS-latest' }}
107
+ if : ${{ matrix.libReactant == 'local' && !startsWith( matrix.os, 'macOS-') }}
121
108
id : build_libreactant
122
109
run : |
123
110
python -m pip install numpy
124
111
julia --color=yes --project=deps -e 'using Pkg; Pkg.instantiate()'
125
112
julia --color=yes --project=deps deps/build_local.jl
126
113
cp LocalPreferences.toml test/
127
114
- name : Build libReactant MacOS
128
- if : ${{ matrix.libReactant == 'local' && matrix.os == 'macOS-latest' }}
115
+ if : ${{ matrix.libReactant == 'local' && !startsWith( matrix.os, 'macOS-') }}
129
116
id : build_libreactant_mac
130
117
run : |
131
118
python -m pip install numpy
0 commit comments