Skip to content

Commit

Permalink
switch to arm macos runner
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Oct 1, 2024
1 parent 61797a7 commit 90a7f75
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/ci-op.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ jobs:
cc: ['gcc-11']

include:
- os: macos-13
- os: macos-15
version: '1.6'
op: "ISO_OP"
omp: 1
cc: gcc-13
cc: clang

- os: macos-13
- os: macos-15
version: '1.8'
op: "ISO_OP"
omp: 1
cc: gcc-13
cc: clang

- os: macos-13
- os: macos-15
version: '1.9'
op: "ISO_OP"
omp: 1
cc: gcc-13
cc: clang

- os: ubuntu-latest
version: '1.9'
Expand All @@ -77,16 +77,29 @@ jobs:
arch: x64

- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Setup clang for osx
if: runner.os == 'macOS'
run: |
brew install libomp
python3 -m pip install -U pip numpy
echo "PATH=$PATH:/opt/homebrew/bin:$(brew --prefix llvm@18)/bin" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$(brew --prefix llvm@18)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Set julia python
run: |
echo "PYTHON=$(which python3)" >> $GITHUB_ENV
python3 -m pip install devito[tests,extras]@git+https://github.com/devitocodes/devito.git
PYTHON=$(which python3) julia -e 'using Pkg;Pkg.add("PyCall");Pkg.build("PyCall")'
- name: Debug numpy path
run: |
python3 -c "import numpy; print(numpy.__file__)"
julia -e 'using PyCall; np = pyimport("numpy"); @show np."__file__"'
- name: Build JUDI
uses: julia-actions/julia-buildpkg@latest

Expand Down

0 comments on commit 90a7f75

Please sign in to comment.