Skip to content
Snippets Groups Projects
Verified Commit a8516c90 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)

(cherry picked from commit ba78d0c8)
parent 99fe194f
No related branches found
No related tags found
No related merge requests found
......@@ -54,8 +54,8 @@ build_macos_x86_64:
- macOS
script:
- autoreconf -si
- './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 ./configure CC=gcc-12 CXX=g++-12 LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison'
- arch -x86_64 make -j$(sysctl -n hw.ncpu)
artifacts:
paths:
- src/dynare-preprocessor
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment