Add CLI args for ast, codegen, use type->toString() in printer, fix v… #17
This file contains 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: Shaderpulse tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up CMake | |
uses: jwlawson/actions-setup-cmake@v1 | |
with: | |
cmake-version: '3.25' | |
- name: Configure CMake | |
run: cmake -B build -DENABLE_CODEGEN=OFF -DCMAKE_BUILD_TYPE=Release | |
- name: Build | |
run: cmake --build build --config Release | |
- name: Run tests | |
run: ctest --test-dir build/test --output-on-failure |