Skip to content

Instantly share code, notes, and snippets.

@amir9480
Created January 10, 2021 19:06
Show Gist options
  • Save amir9480/e0c7c1a41ab9544dac5fb7718d4d0762 to your computer and use it in GitHub Desktop.
Save amir9480/e0c7c1a41ab9544dac5fb7718d4d0762 to your computer and use it in GitHub Desktop.
Sample Mesa workflow
name: tests
on:
push:
pull_request:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Configure
run: cmake -Bbuild -T host=x64 -A x64
- name: Build
run: cmake --build build --config Debug -j4
- name: Install 7zip
run: choco install 7zip.install
- name: Install Mesa
shell: cmd
run: |
curl.exe -L --output mesa.7z --url https://github.com/pal1000/mesa-dist-win/releases/download/20.3.2/mesa3d-20.3.2-release-msvc.7z
"C:\Program Files\7-Zip\7z.exe" x mesa.7z
mklink opengl32.dll "x64\opengl32.dll"
mklink libglapi.dll "x64\libglapi.dll"
working-directory: build\tests\Debug
- name: Run tests
shell: cmd
run: call "build\Debug\TestGL.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment