Skip to content

Commit

Permalink
ci: Try to use libsdl-org/setup-sdl to make SDL available everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 1, 2023
1 parent b4d377f commit 0768273
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -8,16 +8,21 @@ jobs:
runs-on: ${{ matrix.platform.os }}
strategy:
matrix:
platform: # !!! FIXME: figure out an efficient way to get SDL2 on the Windows/Mac bots.
platform:
- { name: Linux, os: ubuntu-20.04, flags: -GNinja }
- { name: Windows, os: windows-latest }
- { name: MacOS, os: macos-latest }
steps:
- name: Set up SDL
id: sdl
uses: libsdl-org/setup-sdl@main
with:
version: sdl2-latest
- 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
sudo apt-get install cmake ninja-build lemon re2c libvulkan-dev
- name: Get MojoShader sources
uses: actions/checkout@v2
- name: Configure CMake
Expand Down

0 comments on commit 0768273

Please sign in to comment.