Skip to content

pico_gfx: minor change to scenegraph example #828

pico_gfx: minor change to scenegraph example

pico_gfx: minor change to scenegraph example #828

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
Build:
name: ${{ matrix.platform.name }}
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
strategy:
fail-fast: false
matrix:
platform:
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686 }
- { name: Windows (mingw64), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64 }
- { name: Linux, os: ubuntu-latest, shell: bash }
- { name: MacOS, os: macos-latest, shell: bash }
test-dirs: [tests_pico_b64, tests_pico_ecs, tests_pico_hit, tests_pico_math, tests_pico_qt, tests_pico_time]
steps:
- name: Set up MSYS2
if: matrix.platform.shell == 'msys2 {0}'
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.platform.msystem }}
install: >-
${{ matrix.platform.msys-env }}-gcc
make
- uses: actions/checkout@v2
- name: Build and run tests
run: |
make clean
make tests
./tests
working-directory: ${{ matrix.test-dirs }}