Skip to content

Merge pull request #9 from acgaudette/dawn #38

Merge pull request #9 from acgaudette/dawn

Merge pull request #9 from acgaudette/dawn #38

Workflow file for this run

name: CMake
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
install-deps: |
sudo apt-get update -y
sudo apt-get install -y libwayland-dev libxkbcommon-dev xorg-dev
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- if: ${{ matrix.install-deps }}
name: Install dependencies
run: ${{ matrix.install-deps }}
- name: Configure CMake
run: cmake -S examples -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}