Skip to content

Commit

Permalink
update CI:
Browse files Browse the repository at this point in the history
- update ubuntu from 20.04 to latest.
- checkout SDL2 from the SDL2 branch, instead of release-2.0.18.
- update actions/checkout to v3.
  • Loading branch information
sezero committed Jul 26, 2023
1 parent 4aa491e commit f94a1ec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
platform:
- { name: Windows, os: windows-latest }
- { name: Linux, os: ubuntu-20.04, flags: -GNinja }
- { name: Linux, os: ubuntu-latest, flags: -GNinja }
- { name: MacOS, os: macos-latest }
steps:
- name: Setup Linux dependencies
Expand All @@ -19,14 +19,15 @@ jobs:
sudo apt-get update
sudo apt-get install cmake ninja-build libgl1-mesa-dev libglu1-mesa-dev
- name: Get sdl12-compat sources
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get SDL2 headers
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: libsdl-org/SDL
ref: release-2.0.18
ref: SDL2
path: SDL2
- name: Configure CMake
run: cmake -DSDL2_INCLUDE_DIR="${{ github.workspace }}/SDL2/include" -B build ${{ matrix.platform.flags }}
- name: Build
run: cmake --build build/

0 comments on commit f94a1ec

Please sign in to comment.