ci: bump actions version tag

This commit is contained in:
Anonymous Maarten
2024-01-26 02:33:20 +01:00
parent 33f86d81fc
commit c5794cd911
15 changed files with 31 additions and 31 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- { name: CMake, cmake: 1, android_abi: "arm64-v8a", android_platform: 23, arch: "aarch64", artifact: "SDL-android-arm64", apk-artifact: "SDL-android-apks-arm64" } - { name: CMake, cmake: 1, android_abi: "arm64-v8a", android_platform: 23, arch: "aarch64", artifact: "SDL-android-arm64", apk-artifact: "SDL-android-apks-arm64" }
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: nttld/setup-ndk@v1 - uses: nttld/setup-ndk@v1
id: setup_ndk id: setup_ndk
with: with:
@@ -92,13 +92,13 @@ jobs:
export CC="${{ steps.setup_ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=${{ matrix.platform.arch }}-none-linux-androideabi${{ matrix.platform.android_platform }}" export CC="${{ steps.setup_ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=${{ matrix.platform.arch }}-none-linux-androideabi${{ matrix.platform.android_platform }}"
export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: ${{ matrix.platform.name == 'CMake' }} if: ${{ matrix.platform.name == 'CMake' }}
with: with:
if-no-files-found: error if-no-files-found: error
name: ${{ matrix.platform.artifact }} name: ${{ matrix.platform.artifact }}
path: build/dist/SDL3* path: build/dist/SDL3*
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: ${{ matrix.platform.name == 'CMake' }} if: ${{ matrix.platform.name == 'CMake' }}
with: with:
if-no-files-found: error if-no-files-found: error

View File

@@ -26,7 +26,7 @@ jobs:
install-cmd: 'sudo -E pkgin -y install cmake dbus pkgconf ninja-build pulseaudio libxkbcommon wayland wayland-protocols libinotify libusb1', install-cmd: 'sudo -E pkgin -y install cmake dbus pkgconf ninja-build pulseaudio libxkbcommon wayland wayland-protocols libinotify libusb1',
} }
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build - name: Build
uses: cross-platform-actions/action@v0.21.1 uses: cross-platform-actions/action@v0.21.1
with: with:
@@ -49,7 +49,7 @@ jobs:
rm -rf build/CMakeFiles rm -rf build/CMakeFiles
rm -rf build/docs rm -rf build/docs
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: ${{ matrix.platform.artifact }} name: ${{ matrix.platform.artifact }}

View File

@@ -10,7 +10,7 @@ jobs:
emscripten: emscripten:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: mymindstorm/setup-emsdk@v12 - uses: mymindstorm/setup-emsdk@v12
with: with:
version: 3.1.35 version: 3.1.35
@@ -51,7 +51,7 @@ jobs:
-DTEST_SHARED=FALSE \ -DTEST_SHARED=FALSE \
-DCMAKE_PREFIX_PATH=${{ env.SDL3_DIR }} -DCMAKE_PREFIX_PATH=${{ env.SDL3_DIR }}
cmake --build cmake_config_build --verbose cmake --build cmake_config_build --verbose
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: SDL-emscripten name: SDL-emscripten

View File

@@ -8,7 +8,7 @@ jobs:
name: Haiku name: Haiku
container: haiku/cross-compiler:x86_64-r1beta4 container: haiku/cross-compiler:x86_64-r1beta4
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup dependencies - name: Setup dependencies
run: | run: |
apt-get install pkg-config -y apt-get install pkg-config -y
@@ -50,7 +50,7 @@ jobs:
run: | run: |
export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: SDL-haiku name: SDL-haiku

View File

@@ -19,6 +19,6 @@ jobs:
- { name: tvOS, target: SDL3, sdk: appletvos } - { name: tvOS, target: SDL3, sdk: appletvos }
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build - name: Build
run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build

View File

@@ -15,7 +15,7 @@ jobs:
platform: platform:
- { toolchain-version: 2022.09.06 } - { toolchain-version: 2022.09.06 }
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install build requirements - name: Install build requirements
run: | run: |
sudo apt-get update -y sudo apt-get update -y
@@ -85,7 +85,7 @@ jobs:
run: | run: |
export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: SDL-loongarch64 name: SDL-loongarch64

View File

@@ -89,7 +89,7 @@ jobs:
# Install oneAPI # Install oneAPI
sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Check that versioning is consistent - name: Check that versioning is consistent
# We only need to run this once: arbitrarily use the Linux/CMake build # We only need to run this once: arbitrarily use the Linux/CMake build
if: "runner.os == 'Linux'" if: "runner.os == 'Linux'"
@@ -149,7 +149,7 @@ jobs:
${{ matrix.platform.source_cmd }} ${{ matrix.platform.source_cmd }}
export PKG_CONFIG_PATH=$(echo "${{ github.workspace }}/cmake_prefix/lib/pkgconfig" | sed -e 's#\\#/#g') export PKG_CONFIG_PATH=$(echo "${{ github.workspace }}/cmake_prefix/lib/pkgconfig" | sed -e 's#\\#/#g')
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: ${{ always() && steps.build.outcome == 'success' }} if: ${{ always() && steps.build.outcome == 'success' }}
with: with:
if-no-files-found: error if-no-files-found: error

View File

@@ -25,7 +25,7 @@ jobs:
project: VisualC-WinRT/SDL-UWP.sln, projectflags: '/p:Platform=x64 /p:WindowsTargetPlatformVersion=10.0.17763.0', artifact: 'SDL-VC-UWP' } project: VisualC-WinRT/SDL-UWP.sln, projectflags: '/p:Platform=x64 /p:WindowsTargetPlatformVersion=10.0.17763.0', artifact: 'SDL-VC-UWP' }
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Create CMake project using SDL as a subproject - name: Create CMake project using SDL as a subproject
shell: python shell: python
run: | run: |
@@ -92,7 +92,7 @@ jobs:
- name: Build msbuild - name: Build msbuild
if: ${{ matrix.platform.project != '' }} if: ${{ matrix.platform.project != '' }}
run: msbuild ${{ matrix.platform.project }} /m /p:BuildInParallel=true /p:Configuration=Release ${{ matrix.platform.projectflags }} run: msbuild ${{ matrix.platform.project }} /m /p:BuildInParallel=true /p:Configuration=Release ${{ matrix.platform.projectflags }}
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: ${{ always() && steps.build.outcome == 'success' }} if: ${{ always() && steps.build.outcome == 'success' }}
with: with:
if-no-files-found: error if-no-files-found: error

View File

@@ -12,7 +12,7 @@ jobs:
container: container:
image: devkitpro/devkitarm:latest image: devkitpro/devkitarm:latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install build requirements - name: Install build requirements
run: | run: |
apt update apt update
@@ -58,7 +58,7 @@ jobs:
run: | run: |
export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: SDL-n3ds name: SDL-n3ds

View File

@@ -12,7 +12,7 @@ jobs:
container: container:
image: dockcross/linux-ppc64le:latest image: dockcross/linux-ppc64le:latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install build requirements - name: Install build requirements
run: | run: |
apt-get update -y apt-get update -y
@@ -54,7 +54,7 @@ jobs:
run: | run: |
export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: SDL-ppc64le name: SDL-ppc64le

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest container: ps2dev/ps2dev:latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup dependencies - name: Setup dependencies
run: | run: |
apk update apk update
@@ -53,7 +53,7 @@ jobs:
export LDFLAGS="-L$PS2DEV/ps2sdk/ee/lib -L$PS2DEV/gsKit/lib -L$PS2DEV/ps2sdk/ports/lib" export LDFLAGS="-L$PS2DEV/ps2sdk/ee/lib -L$PS2DEV/gsKit/lib -L$PS2DEV/ps2sdk/ports/lib"
export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: SDL-ps2 name: SDL-ps2

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: pspdev/pspdev:latest container: pspdev/pspdev:latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup dependencies - name: Setup dependencies
run: | run: |
apk update apk update
@@ -54,7 +54,7 @@ jobs:
export LDFLAGS="-L$PSPDEV/lib -L$PSPDEV/psp/lib -L$PSPDEV/psp/sdk/lib" export LDFLAGS="-L$PSPDEV/lib -L$PSPDEV/psp/lib -L$PSPDEV/psp/sdk/lib"
export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: SDL-psp name: SDL-psp

View File

@@ -21,7 +21,7 @@ jobs:
steps: steps:
- name: Setup dependencies - name: Setup dependencies
run: apt-get update && apt-get install -y cmake ninja-build run: apt-get update && apt-get install -y cmake ninja-build
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Configure (CMake) - name: Configure (CMake)
if: ${{ contains(matrix.platform.name, 'CMake') }} if: ${{ contains(matrix.platform.name, 'CMake') }}
run: | run: |
@@ -57,7 +57,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
${{ matrix.platform.test_args }} ${{ matrix.platform.test_args }}
cmake --build cmake_config_build --verbose cmake --build cmake_config_build --verbose
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: SDL-riscos name: SDL-riscos

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Configure - name: Configure
run: | run: |
cmake -B build -GXcode -DCMAKE_SYSTEM_NAME=visionOS cmake -B build -GXcode -DCMAKE_SYSTEM_NAME=visionOS

View File

@@ -24,13 +24,13 @@ jobs:
- { name: Vita (GLES w/ PVR_PSP2 + gles4vita), pvr: true, version: 3.9, artifact: SDL-vita-pvr } - { name: Vita (GLES w/ PVR_PSP2 + gles4vita), pvr: true, version: 3.9, artifact: SDL-vita-pvr }
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install build requirements - name: Install build requirements
run: | run: |
apk update apk update
apk add cmake ninja pkgconf bash tar apk add cmake ninja pkgconf bash tar
- uses: actions/cache/restore@v3 - uses: actions/cache/restore@v4
id: restore-cache id: restore-cache
with: with:
path: /vita/dependencies path: /vita/dependencies
@@ -77,7 +77,7 @@ jobs:
wget https://github.com/SonicMastr/gl4es4vita/releases/download/v$gl4es4vita_version-vita/vitasdk_stubs.zip -P/tmp wget https://github.com/SonicMastr/gl4es4vita/releases/download/v$gl4es4vita_version-vita/vitasdk_stubs.zip -P/tmp
unzip /tmp/vitasdk_stubs.zip -d/vita/dependencies/lib unzip /tmp/vitasdk_stubs.zip -d/vita/dependencies/lib
- uses: actions/cache/save@v3 - uses: actions/cache/save@v4
if: ${{ !steps.restore-cache.outputs.cache-hit }} if: ${{ !steps.restore-cache.outputs.cache-hit }}
with: with:
path: /vita/dependencies path: /vita/dependencies
@@ -129,7 +129,7 @@ jobs:
export CC=arm-vita-eabi-gcc export CC=arm-vita-eabi-gcc
export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig export PKG_CONFIG_PATH=${{ env.SDL3_DIR }}/lib/pkgconfig
cmake/test/test_pkgconfig.sh cmake/test/test_pkgconfig.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
if-no-files-found: error if-no-files-found: error
name: ${{ matrix.platform.artifact }} name: ${{ matrix.platform.artifact }}