Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
GitHub Actions: Add Release build
Browse files Browse the repository at this point in the history
  • Loading branch information
libbin authored Oct 27, 2021
1 parent 4d731cc commit 59ff014
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-18.04]
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v2
- name: build and test
run: |
mkdir -p build/linux
cd build/linux
cmake -DCMAKE_INSTALL_PREFIX=dist ../..
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_INSTALL_PREFIX=dist ../..
make
make install
Expand All @@ -26,6 +28,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-11, macos-10.15]
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v2
- name: build and test
Expand All @@ -46,11 +49,11 @@ jobs:
mkdir -p build/macos
cd build/macos
cmake -DCMAKE_INSTALL_PREFIX=dist ../..
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_INSTALL_PREFIX=dist ../..
make
make install
build-windows:
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 59ff014

Please sign in to comment.