Skip to content

Commit

Permalink
.github/workflows: update test-build.yml with latest SDL2 versions an…
Browse files Browse the repository at this point in the history
…d remove cache steps

Signed-off-by: Lilis Iskandar <[email protected]>
  • Loading branch information
veeableful committed Dec 22, 2024
1 parent faaabed commit f1072e8
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,16 @@ jobs:
runs-on: ubuntu-latest
env:
SDL_VERSION: 2.30.0
IMG_VERSION: 2.6.0
MIX_VERSION: 2.6.0
TTF_VERSION: 2.0.18
IMG_VERSION: 2.8.0
MIX_VERSION: 2.8.0
TTF_VERSION: 2.22.0
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.13.15'
- run: go version

- name: Cache SDL2
id: cache-sdl2
uses: actions/cache@v3
with:
path: |
SDL2-$SDL_VERSION
IMG-$IMG_VERSION
MIX-$MIX_VERSION
TTF-$TTF_VERSION
key: ${{ runner.os }}-sdl2-${{ hashFiles('**/*.h') }}
restore-keys: |
${{ runner.os }}-sdl2-
- name: Cache Go
id: cache-go
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: set PKG_CONFIG_PATH environment variable
run: |
echo "PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
Expand Down

0 comments on commit f1072e8

Please sign in to comment.