Only run macos-14 on main #47
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: "External Project Check" | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
external_project: | |
name: Build as external project | |
strategy: | |
matrix: | |
platform: [windows, ubuntu, macos] | |
runs-on: "${{ matrix.platform }}-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- if: ${{ matrix.platform == 'ubuntu' }} | |
name: Install RandR headers | |
run: | | |
sudo apt-get update | |
sudo apt install xorg-dev libglu1-mesa-dev | |
- run: cmake tests/external_project -Bbuild -DVKB_BUILD_SAMPLES=OFF |