Specify Runner OS Version in Workflows #162
Workflow file for this run
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: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
build-project: | |
name: Build Project | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, windows-2022] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Configure Project | |
uses: threeal/[email protected] | |
with: | |
run-build: false | |
- name: Build Project | |
run: cmake --build build --config Release | |
- name: Install Project | |
run: cmake --install build --prefix install | |
- name: Upload Project as Artifact | |
uses: actions/[email protected] | |
with: | |
name: package-${{ matrix.os }} | |
path: install |