This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Bump src/acquire-core-libs from a43122f
to 799d0c9
(#36)
#86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
build_type: [ Debug, Release ] | |
platform: [ "windows-latest", "ubuntu-latest", "macos-latest" ] | |
runs-on: ${{ matrix.platform }} | |
permissions: | |
actions: write | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.10.0 | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} | |
- name: Build | |
run: | | |
cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} | |
cpack --config ${{github.workspace}}/build/CPackConfig.cmake -C ${{matrix.build_type}} -G ZIP | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{matrix.platform}} ${{matrix.build_type}} binaries | |
path: ${{github.workspace}}/*.zip |