Skip to content

Commit

Permalink
Update to julia 1.10 (#156)
Browse files Browse the repository at this point in the history
* update to julia 1.10

* check CI without LD_PRELOAD

* add compatability for Trixi >= 0.6

* Revert "check CI without LD_PRELOAD"

This reverts commit 08f537f.

* use julia 1.9.3 for PC tests

* more clever way to do it
  • Loading branch information
benegee authored Feb 5, 2024
1 parent a3ecd79 commit dab41c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: '1.9'
version: '1.10'
show-versioninfo: true
- uses: julia-actions/julia-buildpkg@v1
with:
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,18 @@ jobs:
test_type:
- regular
- coverage
- package-compiler
arch:
- x64
julia_version:
- '1.9'
- '1.10'
t8code_version:
- '1.4.1'
include:
- os: ubuntu-latest
test_type: package-compiler
arch: x64
julia_version: '1.9.3' # 1.9.4: missing nghttp2 symbols in libcurl
t8code_version: '1.4.1'
env:
# Necessary for HDF5 to play nice with Julia
LD_PRELOAD: /lib/x86_64-linux-gnu/libcurl.so.4
Expand Down Expand Up @@ -158,7 +163,7 @@ jobs:
cp ../install/share/libtrixi/LibTrixi.jl/examples/libelixir_p4est2d_dgsem_euler_sedov.jl .
cp ../install/share/libtrixi/LibTrixi.jl/examples/libelixir_t8code_2d_dgsem_advection_amr.jl .
- name: Initialize project directory
- name: Initialize project directory (test_type == 'package-compiler')
if: ${{ matrix.test_type == 'package-compiler' }}
# Note that we set the Julia depot to `~/.julia` *ONLY* to make use of the
# julia-actions/cache above (which unfortunately hardcoded the `~/.julia`
Expand Down Expand Up @@ -233,7 +238,7 @@ jobs:
env:
LIBTRIXI_DEBUG: all

- name: Run examples
- name: Run examples (test_type == 'package-compiler')
if: ${{ matrix.test_type == 'package-compiler' }}
run: |
cd build/examples
Expand Down

0 comments on commit dab41c7

Please sign in to comment.