Skip to content

Commit

Permalink
CI: xcode setup in tutos
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Dec 15, 2021
1 parent 5848cf3 commit 877c311
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,10 @@ jobs:
with:
python-version: 3.7

- name: Install compilers for OSX
- uses: maxim-lobanov/setup-xcode@v1
if: runner.os == 'macOS'
run: |
if [ "${{ matrix.compiler }}" = "gcc-9" ]; then
brew install gcc@9
else
sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer
fi
with:
xcode-version: latest-stable

- name: Build docker image
if: matrix.name == 'tutos-docker-gcc-py37'
Expand Down
2 changes: 1 addition & 1 deletion devito/arch/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,4 +612,4 @@ def __lookup_cmds__(self):
DEVITO_ARCH. Developers should add new compiler classes here.
"""
compiler_registry.update({'gcc-%s' % i: partial(GNUCompiler, suffix=i)
for i in ['4.9', '5', '6', '7', '8', '9', '10']})
for i in ['4.9', '5', '6', '7', '8', '9', '10', '11']})

0 comments on commit 877c311

Please sign in to comment.