Skip to content

Update dawn, adapt samples to updated APIs #23

Update dawn, adapt samples to updated APIs

Update dawn, adapt samples to updated APIs #23

Workflow file for this run

name: Build Examples
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install depot_tools and sync deps
run: |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git ../depot_tools
export PATH=$PWD/../depot_tools:$PATH
gclient sync --jobs=16
- name: Dependencies
run: |
sudo apt-get install libxrandr-dev libxinerama-dev libxcursor-dev libx11-xcb-dev libxi-dev mesa-common-dev
- name: Configure CMake
run: CC=clang CXX=clang++ cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}