Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed May 25, 2024
1 parent 0febd74 commit 5e9054b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ jobs:
run: |
python3 -m pip install -U pip
python3 -m pip install matplotlib seiscm colorcet
PYTHON=$(which python3) julia -e 'using Pkg;Pkg.add("PyCall");Pkg.build("PyCall")'
echo "PYTHON=$(which python3)" >> $GITHUB_ENV
julia -e 'using Pkg;Pkg.add(["PyCall", "PyPlot", "SlimPlotting"])'
- name: Build JUDI
uses: julia-actions/julia-buildpkg@latest

- name: Install packages
run: |
julia -e 'using Pkg;Pkg.add(["NLopt", "Flux", "JOLI", "PyPlot", "Zygote", "IterativeSolvers", "SlimOptim", "HDF5", "SegyIO", "SetIntersectionProjection"])'
julia -e 'using Pkg;Pkg.add(url="https://github.com/slimgroup/SlimPlotting.jl")'
julia -e 'using Pkg;Pkg.add(["NLopt", "Flux", "JOLI", "Zygote", "IterativeSolvers", "SlimOptim", "HDF5", "SegyIO", "SetIntersectionProjection"])'
julia -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()))'
- name: Run examples
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-judi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: JUDI base on Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
DEVITO_ARCH: gcc
DEVITO_ARCH: gcc-12
DEVITO_LANGUAGE: "openmp"
OMP_NUM_THREADS: 4
GROUP: "JUDI"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci-op.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
name: ${{ matrix.op }} on Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
DEVITO_ARCH: gcc-11
DEVITO_ARCH: gcc-12
DEVITO_LANGUAGE: "openmp"
DEVITO_PLATFORM: "cpu64"
DEVITO_LOGGING: "INFO"
OMP_NUM_THREADS: ${{ matrix.omp }}
GROUP: ${{ matrix.op }}
Expand Down

0 comments on commit 5e9054b

Please sign in to comment.