Add dev branch to CI #5
Workflow file for this run
This file contains hidden or 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 CI | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
types: [opened, reopened, labeled, unlabeled, synchronize] | |
branches: | |
- main | |
- dev | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies (Ubuntu) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y cmake | |
sudo apt-get install -y libvulkan1 mesa-vulkan-drivers vulkan-tools | |
sudo apt-get install -y libxrandr-dev | |
- name: Build with CMake | |
run: CMAKE_VERBOSE_MAKEFILE=1 make all-cmake | |
- name: Test | |
run: make test-cmake |