Skip to content

Commit

Permalink
Properly build with -MD on windows, update MacOS versions, and add arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
tkralphs committed Oct 25, 2023
1 parent feb32e2 commit 8a4f525
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/linux-ci.yml
Expand Up @@ -22,17 +22,20 @@ jobs:
build_static: [true, false]
download_requirements: [sudo apt install -y -qq gfortran liblapack-dev libmetis-dev libnauty2-dev]
include:
- os: macos-12
- os: macos-13
arch: auto
build_static: false
flags: CC=clang OSX=12
flags: CC=clang OSX=13
download_requirements: brew install metis bash
- os: macos-12
- os: macos-13
arch: auto
build_static: false
flags: CC=gcc-11 CXX=g++-11 OSX=12
flags: CC=gcc-13 CXX=g++-13 OSX=13
download_requirements: brew install metis bash
- os: macos-12
- os: macos-13
arch: arm64
build_static: false
flags: CC=gcc-12 CXX=g++-12 OSX=12
flags: CC=clang OSX=13
download_requirements: brew install metis bash
steps:
- name: Checkout source
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-ci.yml
Expand Up @@ -104,7 +104,7 @@ jobs:
ADD_BUILD_ARGS+=( --build=x86_64-w64-mingw32 --tests main --enable-relocatable )
ADD_BUILD_ARGS+=( --verbosity 2 )
[[ ${{ matrix.debug }} == "true" ]] && ADD_BUILD_ARGS+=( --enable-debug )
[[ ${{ matrix.arch }} == "msvc" ]] && ADD_BUILD_ARGS+=( --enable-msvc )
[[ ${{ matrix.arch }} == "msvc" ]] && ADD_BUILD_ARGS+=( --enable-msvc=MD )
./coinbrew/coinbrew fetch ${{ github.event.repository.name }} --skip-update "${ADD_ARGS[@]}"
./coinbrew/coinbrew build ${{ github.event.repository.name }} ${{ env.host_flag }} \
"${ADD_ARGS[@]}" "${ADD_BUILD_ARGS[@]}"
Expand Down

0 comments on commit 8a4f525

Please sign in to comment.