Added source semantics to map between the material and the shader, s… #232
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: Compile | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
msvc2022: | |
runs-on: windows-2022 | |
strategy: | |
matrix: | |
build_type: [Release] | |
architecture: [Win32] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run CMake | |
run: cmake -S . -B build -G "Visual Studio 17 2022" -A ${{ matrix.architecture }} | |
if: matrix.build_type == 'Release' | |
- name: Build | |
run: cmake --build build --config ${{ matrix.build_type }} --parallel 10 |