Skip to content

Commit

Permalink
generating mac debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
gangatp committed Feb 16, 2024
1 parent 9ab96e6 commit 0281fc4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,24 @@ jobs:
with:
name: lib3mf.dylib
path: build/lib3mf.dylib

build-macos-debug:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: sh cmake/GenerateMake.sh "-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64 -DCMAKE_BUILD_TYPE=Debug"
- run: cmake --build .
working-directory: ./build
- run: ctest -V
working-directory: ./build
- name: Archive Mac binary
uses: actions/upload-artifact@v2
with:
name: lib3mf.debug.dylib
path: build/lib3mf.dylib

codecoverage-macos:
runs-on: macos-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion cmake/GenerateMake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ basepath="$(cd "$(dirname "$0")" && pwd)"
builddir="$basepath/../build"
mkdir -p "$builddir"
cd "$builddir"
cmake .. -G "Unix Makefiles" "$@"
cmake .. -G "Unix Makefiles" $@

0 comments on commit 0281fc4

Please sign in to comment.