This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Bump tests/integration/acquire-video-runtime from d13cca0
to `ba0fd…
#135
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}} -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" | |
- 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 |