Skip to content

Commit a3b4bd1

Browse files
committed
more clever way to do it
1 parent 1284858 commit a3b4bd1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/ci.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
test_type:
3333
- regular
3434
- coverage
35-
- package-compiler
3635
arch:
3736
- x64
3837
julia_version:
@@ -165,7 +164,7 @@ jobs:
165164
cp ../install/share/libtrixi/LibTrixi.jl/examples/libelixir_t8code_2d_dgsem_advection_amr.jl .
166165
167166
- name: Initialize project directory (test_type == 'package-compiler')
168-
if: ${{ matrix.test_type == 'package-compiler' && matrix.julia_version != '1.10' }}
167+
if: ${{ matrix.test_type == 'package-compiler' }}
169168
# Note that we set the Julia depot to `~/.julia` *ONLY* to make use of the
170169
# julia-actions/cache above (which unfortunately hardcoded the `~/.julia`
171170
# directory). For this reason, we also need to use `--force`
@@ -182,7 +181,7 @@ jobs:
182181
--force
183182
184183
- name: Configure (test_type == 'package-compiler')
185-
if: ${{ matrix.test_type == 'package-compiler' && matrix.julia_version != '1.10' }}
184+
if: ${{ matrix.test_type == 'package-compiler' }}
186185
run: |
187186
mkdir build
188187
cd build
@@ -192,7 +191,7 @@ jobs:
192191
-DJULIA_PROJECT_PATH=$PWD/../libtrixi-julia
193192
194193
- name: Build (test_type == 'package-compiler')
195-
if: ${{ matrix.test_type == 'package-compiler' && matrix.julia_version != '1.10' }}
194+
if: ${{ matrix.test_type == 'package-compiler' }}
196195
run: |
197196
cd build
198197
make -j2
@@ -240,7 +239,7 @@ jobs:
240239
LIBTRIXI_DEBUG: all
241240

242241
- name: Run examples (test_type == 'package-compiler')
243-
if: ${{ matrix.test_type == 'package-compiler' && matrix.julia_version != '1.10' }}
242+
if: ${{ matrix.test_type == 'package-compiler' }}
244243
run: |
245244
cd build/examples
246245
mpirun -n 2 trixi_controller_simple_c \

0 commit comments

Comments
 (0)