Link to video in ReadMe #11
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: CMake | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
# On ubuntu, we skip the viewer feature which drags in Qt that doesn't build in github CI | |
os: [ ubuntu-latest, windows-latest ] | |
runs-on: ${{matrix.os}} | |
env: | |
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
with: | |
submodules: true | |
- name: Set Environment Variables | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | |
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | |
- name: Run Workflow | |
run: cmake --workflow --preset default |