Show More
Commit Description:
Add missing component and message.
Commit Description:
Add missing component and message.
References:
File last commit:
Show/Diff file:
Action:
FNA/lib/FNA3D/MojoShader/.github/workflows/main.yml
26 lines | 816 B | text/x-yaml | YamlLexer
26 lines | 816 B | text/x-yaml | YamlLexer
r690 | name: Build | |||
on: [push, pull_request] | ||||
jobs: | ||||
Build: | ||||
name: ${{ matrix.platform.name }} | ||||
runs-on: ${{ matrix.platform.os }} | ||||
strategy: | ||||
matrix: | ||||
platform: # !!! FIXME: figure out an efficient way to get SDL2 on the Windows/Mac bots. | ||||
- { name: Linux, os: ubuntu-20.04, flags: -GNinja } | ||||
- { name: Windows, os: windows-latest } | ||||
- { name: MacOS, os: macos-latest } | ||||
steps: | ||||
- name: Setup Linux dependencies | ||||
if: runner.os == 'Linux' | ||||
run: | | ||||
sudo apt-get update | ||||
sudo apt-get install cmake ninja-build libsdl2-dev lemon re2c libvulkan-dev | ||||
- name: Get MojoShader sources | ||||
uses: actions/checkout@v2 | ||||
- name: Configure CMake | ||||
run: cmake -B build ${{ matrix.platform.flags }} | ||||
- name: Build | ||||
run: cmake --build build/ | ||||