From 5e9054ba7a9035095a57842cd12c24945eeed328 Mon Sep 17 00:00:00 2001 From: mloubout Date: Sat, 25 May 2024 12:52:16 -0400 Subject: [PATCH] update CI --- .github/workflows/ci-examples.yml | 6 +++--- .github/workflows/ci-judi.yml | 2 +- .github/workflows/ci-op.yml | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-examples.yml b/.github/workflows/ci-examples.yml index dbd3ce2b8..d03224897 100644 --- a/.github/workflows/ci-examples.yml +++ b/.github/workflows/ci-examples.yml @@ -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 diff --git a/.github/workflows/ci-judi.yml b/.github/workflows/ci-judi.yml index a05f5916e..0c9c52dec 100644 --- a/.github/workflows/ci-judi.yml +++ b/.github/workflows/ci-judi.yml @@ -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" diff --git a/.github/workflows/ci-op.yml b/.github/workflows/ci-op.yml index 35797d931..db9531504 100644 --- a/.github/workflows/ci-op.yml +++ b/.github/workflows/ci-op.yml @@ -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 }}