Skip to content

Commit

Permalink
CI: Switch to Julia 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Aug 3, 2023
1 parent a17a10d commit 5229a57
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,15 +242,16 @@ jobs:
sudo apt-get install g++ libopenmpi-dev libhdf5-openmpi-dev python3 python3-numpy python3-mpi4py python3-pandas
# TODO ADIOS2
# Install Julia
wget https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.7-linux-x86_64.tar.gz
sudo tar -xz -C /usr/local -f julia-1.6.7-linux-x86_64.tar.gz
rm julia-1.6.7-linux-x86_64.tar.gz
# 1.6.7
wget https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.3-linux-x86_64.tar.gz
sudo tar -xz -C /usr/local -f julia-1.7.3-linux-x86_64.tar.gz
rm julia-1.7.3-linux-x86_64.tar.gz
# Install cmake-easyinstall
sudo curl -L -o /usr/local/bin/cmake-easyinstall https://git.io/JvLxY
sudo chmod a+x /usr/local/bin/cmake-easyinstall
export CEI_SUDO="sudo"
# Install libcxxwrap-julia
cmake-easyinstall git+https://github.com/JuliaInterop/[email protected] -DJulia_EXECUTABLE=/usr/local/julia-1.6.7/bin/julia
cmake-easyinstall git+https://github.com/JuliaInterop/[email protected] -DJulia_EXECUTABLE=/usr/local/julia-1.7.3/bin/julia
- name: Build
env: {CXXFLAGS: -Werror, PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig}
run: |
Expand All @@ -263,8 +264,8 @@ jobs:
-DopenPMD_USE_INVASIVE_TESTS=ON
cmake --build build --parallel 2
ctest --test-dir build --output-on-failure
/usr/local/julia-1.6.7/bin/julia --eval 'using Pkg; Pkg.add("CxxWrap")'
/usr/local/julia-1.6.7/bin/julia src/binding/julia/tests/minimal_example.jl
/usr/local/julia-1.7.3/bin/julia --eval 'using Pkg; Pkg.add("CxxWrap")'
/usr/local/julia-1.7.3/bin/julia src/binding/julia/tests/minimal_example.jl
musllinux_py10:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 5229a57

Please sign in to comment.