Skip to content

Commit

Permalink
Move to julia 1.11 (#207)
Browse files Browse the repository at this point in the history
* testing julia 1.11

* revert back to 1.9.3 for package compiler

* Disable filter_stdlibs for PackageCompuler

* check size of shared library

* enable filter_stdlibs again

* Finalize P4est mesh as well

* Update .github/workflows/ci.yml

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>

* Update ci.yml

* Update .github/workflows/ci.yml

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>

* coverage testing only with 1.11

* coverage only with julia 1.11

---------

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
  • Loading branch information
benegee and sloede authored Nov 26, 2024
1 parent 07845ab commit 714203f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

jobs:
test:
name: ${{ matrix.os }} - ${{ matrix.test_type }} - ${{ github.event_name }}
name: ${{ matrix.os }} - ${{ matrix.test_type }} - Julia ${{ matrix.julia_version }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -31,14 +31,20 @@ jobs:
- ubuntu-latest
test_type:
- regular
- coverage
- package-compiler
arch:
- x64
julia_version:
- '1.10'
- '1.11'
t8code_version:
- '3.0.0'
include:
- os: ubuntu-latest
test_type: coverage
arch: x64
julia_version: '1.11'
t8code_version: '3.0.0'
env:
# Necessary for HDF5 to play nice with Julia
LD_PRELOAD: /lib/x86_64-linux-gnu/libcurl.so.4
Expand Down
2 changes: 1 addition & 1 deletion LibTrixi.jl/src/api_jl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function trixi_finalize_simulation_jl(simstate)
# x-ref: https://github.com/DLR-AMR/t8code/issues/1295
# x-ref: https://github.com/trixi-framework/libtrixi/pull/215#discussion_r1843676330
mesh, _, _, _ = mesh_equations_solver_cache(simstate.semi)
if mesh isa Trixi.T8codeMesh
if mesh isa Trixi.T8codeMesh || mesh isa Trixi.P4estMesh
finalize(mesh)
end

Expand Down

0 comments on commit 714203f

Please sign in to comment.