From f1072e89d5b6d4d6b571676aab14c1106d57faa4 Mon Sep 17 00:00:00 2001 From: Lilis Iskandar Date: Sun, 22 Dec 2024 14:13:56 +0800 Subject: [PATCH] .github/workflows: update test-build.yml with latest SDL2 versions and remove cache steps Signed-off-by: Lilis Iskandar --- .github/workflows/test-build.yml | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 00835da..bf8e1ae 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -5,9 +5,9 @@ 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 @@ -15,30 +15,6 @@ jobs: 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