Skip to content

Commit

Permalink
Back to building
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Apr 6, 2024
1 parent 5296d39 commit a9a6b9f
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions .github/workflows/mac-builds-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,25 @@ jobs:
- uses: actions/checkout@v4

- name: Configure build
run: echo "hello world"
# working-directory: ${{runner.workspace}}
# env:
# CXX: ${{matrix.cxx}}
# CXXFLAGS: ${{matrix.cxxflags}}
# run: |
# cmake -Bbuild -H$GITHUB_WORKSPACE \
# -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
# -DCMAKE_CXX_STANDARD=${{matrix.std}} \
# -DCMAKE_CXX_STANDARD_REQUIRED=ON \
# -DCATCH_DEVELOPMENT_BUILD=ON \
# -DCATCH_BUILD_EXAMPLES=${{matrix.examples}} \
# -DCATCH_BUILD_EXTRA_TESTS=${{matrix.examples}}
#
# - name: Build tests + lib
# working-directory: ${{runner.workspace}}/build
# run: make -j `sysctl -n hw.ncpu`
#
# - name: Run tests
# env:
# CTEST_OUTPUT_ON_FAILURE: 1
# working-directory: ${{runner.workspace}}/build
# run: ctest -C ${{matrix.build_type}} -j `sysctl -n hw.ncpu`
working-directory: ${{runner.workspace}}
env:
CXX: ${{matrix.cxx}}
CXXFLAGS: ${{matrix.cxxflags}}
run: |
cmake -Bbuild -H$GITHUB_WORKSPACE \
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
-DCMAKE_CXX_STANDARD_REQUIRED=ON \
-DCATCH_DEVELOPMENT_BUILD=ON \
-DCATCH_BUILD_EXAMPLES=${{matrix.examples}} \
-DCATCH_BUILD_EXTRA_TESTS=${{matrix.examples}}
- name: Build tests + lib
working-directory: ${{runner.workspace}}/build
run: make -j `sysctl -n hw.ncpu`

- name: Run tests
env:
CTEST_OUTPUT_ON_FAILURE: 1
working-directory: ${{runner.workspace}}/build
run: ctest -C ${{matrix.build_type}} -j `sysctl -n hw.ncpu`

0 comments on commit a9a6b9f

Please sign in to comment.