Skip to content
Snippets Groups Projects
Verified Commit ba78d0c8 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

CI: adapt for new macOS runner

- enforce x86-64 architecture
- use “sysctl -n hw.ncpu” instead of “nproc” (which has not been installed in
  the new runner)
parent 715ec9e4
Branches
No related tags found
No related merge requests found
...@@ -54,8 +54,8 @@ build_macos_x86_64: ...@@ -54,8 +54,8 @@ build_macos_x86_64:
- macOS - macOS
script: script:
- autoreconf -si - autoreconf -si
- './configure CC=gcc-12 CXX=g++-12 LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison' - 'arch -x86_64 ./configure CC=gcc-12 CXX=g++-12 LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison'
- make -j$(nproc) - arch -x86_64 make -j$(sysctl -n hw.ncpu)
artifacts: artifacts:
paths: paths:
- src/dynare-preprocessor - src/dynare-preprocessor
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment