mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 06:44:27 +08:00
ci: bump workflows
This commit is contained in:
committed by
Anonymous Maarten
parent
d1977bbf5e
commit
928cfef4b7
@@ -30,7 +30,7 @@ runs:
|
|||||||
echo "cache-key=gdk-${{ inputs.ref }}-${{ inputs.edition }}" >> $Env:GITHUB_OUTPUT
|
echo "cache-key=gdk-${{ inputs.ref }}-${{ inputs.edition }}" >> $Env:GITHUB_OUTPUT
|
||||||
- name: 'Restore cached GDK'
|
- name: 'Restore cached GDK'
|
||||||
id: cache-restore
|
id: cache-restore
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v5
|
||||||
with:
|
with:
|
||||||
path: '${{ steps.calc.outputs.gdk-path }}'
|
path: '${{ steps.calc.outputs.gdk-path }}'
|
||||||
key: ${{ steps.calc.outputs.cache-key }}
|
key: ${{ steps.calc.outputs.cache-key }}
|
||||||
@@ -58,7 +58,7 @@ runs:
|
|||||||
--no-user-props
|
--no-user-props
|
||||||
- name: 'Cache GDK'
|
- name: 'Cache GDK'
|
||||||
if: ${{ !steps.cache-restore.outputs.cache-hit }}
|
if: ${{ !steps.cache-restore.outputs.cache-hit }}
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v5
|
||||||
with:
|
with:
|
||||||
path: '${{ steps.calc.outputs.gdk-path }}'
|
path: '${{ steps.calc.outputs.gdk-path }}'
|
||||||
key: ${{ steps.calc.outputs.cache-key }}
|
key: ${{ steps.calc.outputs.cache-key }}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ outputs:
|
|||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/cache/restore@v4
|
- uses: actions/cache/restore@v5
|
||||||
id: restore-cache
|
id: restore-cache
|
||||||
with:
|
with:
|
||||||
path: /opt/cross-tools
|
path: /opt/cross-tools
|
||||||
@@ -34,7 +34,7 @@ runs:
|
|||||||
mkdir -p /opt
|
mkdir -p /opt
|
||||||
tar -C /opt -x -f /tmp/toolchain.tar.xz
|
tar -C /opt -x -f /tmp/toolchain.tar.xz
|
||||||
|
|
||||||
- uses: actions/cache/save@v4
|
- uses: actions/cache/save@v5
|
||||||
if: ${{ !steps.restore-cache.outputs.cache-hit }}
|
if: ${{ !steps.restore-cache.outputs.cache-hit }}
|
||||||
with:
|
with:
|
||||||
path: /opt/cross-tools
|
path: /opt/cross-tools
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 'Restore cached libusb-${{ inputs.version }}.7z'
|
- name: 'Restore cached libusb-${{ inputs.version }}.7z'
|
||||||
id: cache-restore
|
id: cache-restore
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v5
|
||||||
with:
|
with:
|
||||||
path: 'C:\temp\libusb-${{ inputs.version }}.7z'
|
path: 'C:\temp\libusb-${{ inputs.version }}.7z'
|
||||||
key: libusb-msvc-${{ inputs.version }}
|
key: libusb-msvc-${{ inputs.version }}
|
||||||
@@ -28,7 +28,7 @@ runs:
|
|||||||
Invoke-WebRequest "https://github.com/libusb/libusb/releases/download/v${{ inputs.version }}/libusb-${{ inputs.version }}.7z" -OutFile "C:\temp\libusb-${{ inputs.version }}.7z"
|
Invoke-WebRequest "https://github.com/libusb/libusb/releases/download/v${{ inputs.version }}/libusb-${{ inputs.version }}.7z" -OutFile "C:\temp\libusb-${{ inputs.version }}.7z"
|
||||||
- name: 'Cache libusb-${{ inputs.version }}.7z'
|
- name: 'Cache libusb-${{ inputs.version }}.7z'
|
||||||
if: ${{ !steps.cache-restore.outputs.cache-hit }}
|
if: ${{ !steps.cache-restore.outputs.cache-hit }}
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v5
|
||||||
with:
|
with:
|
||||||
path: 'C:\temp\libusb-${{ inputs.version }}.7z'
|
path: 'C:\temp\libusb-${{ inputs.version }}.7z'
|
||||||
key: libusb-msvc-${{ inputs.version }}
|
key: libusb-msvc-${{ inputs.version }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: 'Verify platform'
|
- name: 'Verify platform'
|
||||||
@@ -52,7 +52,7 @@ runs:
|
|||||||
echo "extras-branch=${extras_branch}" >> ${GITHUB_OUTPUT}
|
echo "extras-branch=${extras_branch}" >> ${GITHUB_OUTPUT}
|
||||||
# - name: 'Restore cached ${{ steps.calc.outputs.archive }}'
|
# - name: 'Restore cached ${{ steps.calc.outputs.archive }}'
|
||||||
# id: cache-restore
|
# id: cache-restore
|
||||||
# uses: actions/cache/restore@v4
|
# uses: actions/cache/restore@v5
|
||||||
# with:
|
# with:
|
||||||
# path: '${{ runner.temp }}'
|
# path: '${{ runner.temp }}'
|
||||||
# key: ${{ steps.calc.outputs.cache-key }}
|
# key: ${{ steps.calc.outputs.cache-key }}
|
||||||
@@ -68,7 +68,7 @@ runs:
|
|||||||
|
|
||||||
# - name: 'Cache ${{ steps.calc.outputs.archive }}'
|
# - name: 'Cache ${{ steps.calc.outputs.archive }}'
|
||||||
# if: ${{ !steps.cache-restore.outputs.cache-hit || steps.cache-restore.outputs.cache-hit == 'false' }}
|
# if: ${{ !steps.cache-restore.outputs.cache-hit || steps.cache-restore.outputs.cache-hit == 'false' }}
|
||||||
# uses: actions/cache/save@v4
|
# uses: actions/cache/save@v5
|
||||||
# with:
|
# with:
|
||||||
# path: |
|
# path: |
|
||||||
# ${{ runner.temp }}/apps.zip
|
# ${{ runner.temp }}/apps.zip
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ runs:
|
|||||||
echo "cache-key=${archive}-${{ inputs.version }}-${{ runner.os }}-${{ runner.arch }}" >> ${GITHUB_OUTPUT}
|
echo "cache-key=${archive}-${{ inputs.version }}-${{ runner.os }}-${{ runner.arch }}" >> ${GITHUB_OUTPUT}
|
||||||
- name: 'Restore cached ${{ steps.calc.outputs.archive }}'
|
- name: 'Restore cached ${{ steps.calc.outputs.archive }}'
|
||||||
id: cache-restore
|
id: cache-restore
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v5
|
||||||
with:
|
with:
|
||||||
path: '${{ runner.temp }}/${{ steps.calc.outputs.archive }}'
|
path: '${{ runner.temp }}/${{ steps.calc.outputs.archive }}'
|
||||||
key: ${{ steps.calc.outputs.cache-key }}
|
key: ${{ steps.calc.outputs.cache-key }}
|
||||||
@@ -47,7 +47,7 @@ runs:
|
|||||||
Invoke-WebRequest "https://github.com/ninja-build/ninja/releases/download/v${{ inputs.version }}/${{ steps.calc.outputs.archive }}" -OutFile "${{ runner.temp }}/${{ steps.calc.outputs.archive }}"
|
Invoke-WebRequest "https://github.com/ninja-build/ninja/releases/download/v${{ inputs.version }}/${{ steps.calc.outputs.archive }}" -OutFile "${{ runner.temp }}/${{ steps.calc.outputs.archive }}"
|
||||||
- name: 'Cache ${{ steps.calc.outputs.archive }}'
|
- name: 'Cache ${{ steps.calc.outputs.archive }}'
|
||||||
if: ${{ !steps.cache-restore.outputs.cache-hit || steps.cache-restore.outputs.cache-hit == 'false' }}
|
if: ${{ !steps.cache-restore.outputs.cache-hit || steps.cache-restore.outputs.cache-hit == 'false' }}
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v5
|
||||||
with:
|
with:
|
||||||
path: '${{ runner.temp }}/${{ steps.calc.outputs.archive }}'
|
path: '${{ runner.temp }}/${{ steps.calc.outputs.archive }}'
|
||||||
key: ${{ steps.calc.outputs.cache-key }}
|
key: ${{ steps.calc.outputs.cache-key }}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ runs:
|
|||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
- uses: actions/cache/restore@v4
|
- uses: actions/cache/restore@v5
|
||||||
id: restore-cache
|
id: restore-cache
|
||||||
with:
|
with:
|
||||||
path: /vita/dependencies
|
path: /vita/dependencies
|
||||||
@@ -81,7 +81,7 @@ runs:
|
|||||||
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@v4
|
- uses: actions/cache/save@v5
|
||||||
if: ${{ !steps.restore-cache.outputs.cache-hit }}
|
if: ${{ !steps.restore-cache.outputs.cache-hit }}
|
||||||
with:
|
with:
|
||||||
path: /vita/dependencies
|
path: /vita/dependencies
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
echo "os=${{ matrix.platform.os }}"
|
echo "os=${{ matrix.platform.os }}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Add [sdl-ci-filter ${{ matrix.platform.key }}] to your commit message to reduce the number of jobs."
|
echo "Add [sdl-ci-filter ${{ matrix.platform.key }}] to your commit message to reduce the number of jobs."
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: 'Set up ninja'
|
- name: 'Set up ninja'
|
||||||
if: ${{ matrix.platform.setup-ninja }}
|
if: ${{ matrix.platform.setup-ninja }}
|
||||||
uses: ./.github/actions/setup-ninja
|
uses: ./.github/actions/setup-ninja
|
||||||
@@ -44,11 +44,11 @@ jobs:
|
|||||||
uses: ./.github/actions/setup-msvc-libusb
|
uses: ./.github/actions/setup-msvc-libusb
|
||||||
with:
|
with:
|
||||||
arch: ${{ matrix.platform.setup-libusb-arch }}
|
arch: ${{ matrix.platform.setup-libusb-arch }}
|
||||||
- uses: mymindstorm/setup-emsdk@v14
|
- uses: mymindstorm/setup-emsdk@v15
|
||||||
if: ${{ matrix.platform.platform == 'emscripten' }}
|
if: ${{ matrix.platform.platform == 'emscripten' }}
|
||||||
with:
|
with:
|
||||||
version: 3.1.35
|
version: 3.1.35
|
||||||
- uses: browser-actions/setup-chrome@v1
|
- uses: browser-actions/setup-chrome@v2
|
||||||
id: setup-chrome
|
id: setup-chrome
|
||||||
if: ${{ matrix.platform.platform == 'emscripten' }}
|
if: ${{ matrix.platform.platform == 'emscripten' }}
|
||||||
with:
|
with:
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
# We cannot use GitHub expressions in the controller job
|
# We cannot use GitHub expressions in the controller job
|
||||||
echo "ANDROID_NDK_HOME=${{ steps.setup-ndk.outputs.ndk-path }}" >>$GITHUB_ENV
|
echo "ANDROID_NDK_HOME=${{ steps.setup-ndk.outputs.ndk-path }}" >>$GITHUB_ENV
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v5
|
||||||
if: ${{ matrix.platform.java }}
|
if: ${{ matrix.platform.java }}
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
@@ -171,7 +171,7 @@ jobs:
|
|||||||
echo "timestamp=$(date -u "+%Y%m%d%H%M_%S")" >> "$GITHUB_OUTPUT"
|
echo "timestamp=$(date -u "+%Y%m%d%H%M_%S")" >> "$GITHUB_OUTPUT"
|
||||||
- name: 'Restore ccache'
|
- name: 'Restore ccache'
|
||||||
if: ${{ matrix.platform.ccache }}
|
if: ${{ matrix.platform.ccache }}
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v5
|
||||||
id: restore-ccache
|
id: restore-ccache
|
||||||
with:
|
with:
|
||||||
path: ${{ runner.temp }}/ccache
|
path: ${{ runner.temp }}/ccache
|
||||||
@@ -319,7 +319,7 @@ jobs:
|
|||||||
- name: 'Build (cross-platform-actions, BSD)'
|
- name: 'Build (cross-platform-actions, BSD)'
|
||||||
id: cpactions
|
id: cpactions
|
||||||
if: ${{ matrix.platform.cpactions }}
|
if: ${{ matrix.platform.cpactions }}
|
||||||
uses: cross-platform-actions/action@v0.29.0
|
uses: cross-platform-actions/action@v0.32.0
|
||||||
with:
|
with:
|
||||||
operating_system: '${{ matrix.platform.cpactions-os }}'
|
operating_system: '${{ matrix.platform.cpactions-os }}'
|
||||||
architecture: '${{ matrix.platform.cpactions-arch }}'
|
architecture: '${{ matrix.platform.cpactions-arch }}'
|
||||||
@@ -349,7 +349,7 @@ jobs:
|
|||||||
- name: Add msbuild to PATH
|
- name: Add msbuild to PATH
|
||||||
id: setup-msbuild
|
id: setup-msbuild
|
||||||
if: ${{ matrix.platform.msvc-project != '' }}
|
if: ${{ matrix.platform.msvc-project != '' }}
|
||||||
uses: microsoft/setup-msbuild@v2
|
uses: microsoft/setup-msbuild@v3
|
||||||
- name: Build msbuild
|
- name: Build msbuild
|
||||||
if: ${{ matrix.platform.msvc-project != '' }}
|
if: ${{ matrix.platform.msvc-project != '' }}
|
||||||
run: |
|
run: |
|
||||||
@@ -393,7 +393,7 @@ jobs:
|
|||||||
ccache -s
|
ccache -s
|
||||||
- name: 'Save ccache'
|
- name: 'Save ccache'
|
||||||
if: ${{ matrix.platform.ccache }}
|
if: ${{ matrix.platform.ccache }}
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v5
|
||||||
with:
|
with:
|
||||||
path: ${{ runner.temp }}/ccache
|
path: ${{ runner.temp }}/ccache
|
||||||
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
|
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
|
||||||
@@ -413,7 +413,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
find ./ -iname '*.so' | xargs -L1 ./build-scripts/check_elf_alignment.sh
|
find ./ -iname '*.so' | xargs -L1 ./build-scripts/check_elf_alignment.sh
|
||||||
- name: 'Upload binary package'
|
- name: 'Upload binary package'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
if: ${{ always() && matrix.platform.artifact != '' && (steps.package.outcome == 'success' || steps.cpactions.outcome == 'success') && (matrix.platform.enable-artifacts || steps.tests.outcome == 'failure') }}
|
if: ${{ always() && matrix.platform.artifact != '' && (steps.package.outcome == 'success' || steps.cpactions.outcome == 'success') && (matrix.platform.enable-artifacts || steps.tests.outcome == 'failure') }}
|
||||||
with:
|
with:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
@@ -422,14 +422,14 @@ jobs:
|
|||||||
build/dist/SDL3*
|
build/dist/SDL3*
|
||||||
build/include*
|
build/include*
|
||||||
- name: 'Upload minidumps'
|
- name: 'Upload minidumps'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
if: ${{ always() && steps.tests.outcome == 'failure' && (matrix.platform.platform == 'msvc' || matrix.platform.platform == 'msys2') }}
|
if: ${{ always() && steps.tests.outcome == 'failure' && (matrix.platform.platform == 'msvc' || matrix.platform.platform == 'msys2') }}
|
||||||
with:
|
with:
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
name: '${{ matrix.platform.artifact }}-minidumps'
|
name: '${{ matrix.platform.artifact }}-minidumps'
|
||||||
path: build/**/*.dmp
|
path: build/**/*.dmp
|
||||||
- name: "Upload Android test apk's"
|
- name: "Upload Android test apk's"
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
if: ${{ matrix.platform.enable-artifacts && always() && matrix.platform.artifact != '' && steps.apks.outcome == 'success' }}
|
if: ${{ matrix.platform.enable-artifacts && always() && matrix.platform.artifact != '' && steps.apks.outcome == 'success' }}
|
||||||
with:
|
with:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|||||||
@@ -20,15 +20,15 @@ jobs:
|
|||||||
src-zip: ${{ steps.releaser.outputs.src-zip }}
|
src-zip: ${{ steps.releaser.outputs.src-zip }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: 'build-scripts/build-release.py'
|
sparse-checkout: 'build-scripts/build-release.py'
|
||||||
- name: 'Set up SDL sources'
|
- name: 'Set up SDL sources'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
path: 'SDL'
|
path: 'SDL'
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
--github \
|
--github \
|
||||||
--debug
|
--debug
|
||||||
- name: 'Store source archives'
|
- name: 'Store source archives'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace}}/dist'
|
path: '${{ github.workspace}}/dist'
|
||||||
@@ -61,7 +61,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
@@ -114,15 +114,15 @@ jobs:
|
|||||||
dmg: ${{ steps.releaser.outputs.dmg }}
|
dmg: ${{ steps.releaser.outputs.dmg }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: 'build-scripts/build-release.py'
|
sparse-checkout: 'build-scripts/build-release.py'
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
@@ -143,7 +143,7 @@ jobs:
|
|||||||
--github \
|
--github \
|
||||||
--debug
|
--debug
|
||||||
- name: 'Store DMG image file'
|
- name: 'Store DMG image file'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: dmg
|
name: dmg
|
||||||
path: '${{ github.workspace }}/dist'
|
path: '${{ github.workspace }}/dist'
|
||||||
@@ -153,12 +153,12 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
- name: 'Download ${{ needs.dmg.outputs.dmg }}'
|
- name: 'Download ${{ needs.dmg.outputs.dmg }}'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: dmg
|
name: dmg
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
@@ -322,15 +322,15 @@ jobs:
|
|||||||
VC-devel: ${{ steps.releaser.outputs.VC-devel }}
|
VC-devel: ${{ steps.releaser.outputs.VC-devel }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: 'build-scripts/build-release.py'
|
sparse-checkout: 'build-scripts/build-release.py'
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
@@ -351,7 +351,7 @@ jobs:
|
|||||||
--github `
|
--github `
|
||||||
--debug
|
--debug
|
||||||
- name: 'Store MSVC archives'
|
- name: 'Store MSVC archives'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: win32
|
name: win32
|
||||||
path: '${{ github.workspace }}/dist'
|
path: '${{ github.workspace }}/dist'
|
||||||
@@ -361,16 +361,16 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Fetch .github/actions/setup-ninja/action.yml'
|
- name: 'Fetch .github/actions/setup-ninja/action.yml'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: '.github/actions/setup-ninja/action.yml'
|
sparse-checkout: '.github/actions/setup-ninja/action.yml'
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
- name: 'Download MSVC binaries'
|
- name: 'Download MSVC binaries'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: win32
|
name: win32
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
@@ -481,11 +481,11 @@ jobs:
|
|||||||
mingw-devel-tar-xz: ${{ steps.releaser.outputs.mingw-devel-tar-xz }}
|
mingw-devel-tar-xz: ${{ steps.releaser.outputs.mingw-devel-tar-xz }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: 'build-scripts/build-release.py'
|
sparse-checkout: 'build-scripts/build-release.py'
|
||||||
- name: 'Install Mingw toolchain'
|
- name: 'Install Mingw toolchain'
|
||||||
@@ -493,7 +493,7 @@ jobs:
|
|||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y gcc-mingw-w64 g++-mingw-w64 ninja-build
|
sudo apt-get install -y gcc-mingw-w64 g++-mingw-w64 ninja-build
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
@@ -513,7 +513,7 @@ jobs:
|
|||||||
--github \
|
--github \
|
||||||
--debug
|
--debug
|
||||||
- name: 'Store MinGW archives'
|
- name: 'Store MinGW archives'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: mingw
|
name: mingw
|
||||||
path: '${{ github.workspace }}/dist'
|
path: '${{ github.workspace }}/dist'
|
||||||
@@ -527,12 +527,12 @@ jobs:
|
|||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y gcc-mingw-w64 g++-mingw-w64 ninja-build
|
sudo apt-get install -y gcc-mingw-w64 g++-mingw-w64 ninja-build
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
- name: 'Download MinGW binaries'
|
- name: 'Download MinGW binaries'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: mingw
|
name: mingw
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
@@ -582,11 +582,11 @@ jobs:
|
|||||||
android-aar: ${{ steps.releaser.outputs.android-aar }}
|
android-aar: ${{ steps.releaser.outputs.android-aar }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: 'build-scripts/build-release.py'
|
sparse-checkout: 'build-scripts/build-release.py'
|
||||||
- name: 'Setup Android NDK'
|
- name: 'Setup Android NDK'
|
||||||
@@ -596,7 +596,7 @@ jobs:
|
|||||||
local-cache: false
|
local-cache: false
|
||||||
ndk-version: r28c
|
ndk-version: r28c
|
||||||
- name: 'Setup Java JDK'
|
- name: 'Setup Java JDK'
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
@@ -605,7 +605,7 @@ jobs:
|
|||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y ninja-build
|
sudo apt-get install -y ninja-build
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
@@ -627,7 +627,7 @@ jobs:
|
|||||||
--github \
|
--github \
|
||||||
--debug
|
--debug
|
||||||
- name: 'Store Android archive(s)'
|
- name: 'Store Android archive(s)'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: android
|
name: android
|
||||||
path: '${{ github.workspace }}/dist'
|
path: '${{ github.workspace }}/dist'
|
||||||
@@ -637,20 +637,20 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: 'Download source archives'
|
- name: 'Download source archives'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
- name: 'Download Android .aar archive'
|
- name: 'Download Android .aar archive'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: android
|
name: android
|
||||||
path: '${{ github.workspace }}'
|
path: '${{ github.workspace }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user