mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Chore] (CI): upgrade GitHub Actions runtimes
This commit is contained in:
+13
-13
@@ -21,7 +21,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
gradle-version: 8.10.2
|
gradle-version: 8.10.2
|
||||||
|
|
||||||
- name: Restore ccache
|
- name: Restore ccache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: .ccache
|
path: .ccache
|
||||||
key: ${{ runner.os }}-apk-${{ github.job }}-ccache-${{ github.ref_name }}-${{ github.run_id }}
|
key: ${{ runner.os }}-apk-${{ github.job }}-ccache-${{ github.ref_name }}-${{ github.run_id }}
|
||||||
@@ -181,7 +181,7 @@ jobs:
|
|||||||
names: ${{ steps.trace-cases.outputs.names }}
|
names: ${{ steps.trace-cases.outputs.names }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Load trace cases
|
- name: Load trace cases
|
||||||
id: trace-cases
|
id: trace-cases
|
||||||
@@ -200,7 +200,7 @@ jobs:
|
|||||||
case: ${{ fromJSON(needs.trace-cases.outputs.names) }}
|
case: ${{ fromJSON(needs.trace-cases.outputs.names) }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Fetch trace fixture
|
- name: Fetch trace fixture
|
||||||
run: bash .github/scripts/fetch-trace-fixture-lfs.sh '${{ matrix.case }}'
|
run: bash .github/scripts/fetch-trace-fixture-lfs.sh '${{ matrix.case }}'
|
||||||
@@ -216,7 +216,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Upload trace fixture
|
- name: Upload trace fixture
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: MobileGL-trace-fixture-${{ matrix.case }}
|
name: MobileGL-trace-fixture-${{ matrix.case }}
|
||||||
path: trace-fixtures/**
|
path: trace-fixtures/**
|
||||||
@@ -230,7 +230,7 @@ jobs:
|
|||||||
ANDROID_AVD_HOME: ${{ github.workspace }}/.android/avd
|
ANDROID_AVD_HOME: ${{ github.workspace }}/.android/avd
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
@@ -242,7 +242,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Restore Android AVD cache
|
- name: Restore Android AVD cache
|
||||||
id: android-avd-cache
|
id: android-avd-cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ env.ANDROID_AVD_HOME }}
|
${{ env.ANDROID_AVD_HOME }}
|
||||||
@@ -292,10 +292,10 @@ jobs:
|
|||||||
swap-size-gb: 16
|
swap-size-gb: 16
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Download trace fixture
|
- name: Download trace fixture
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: MobileGL-trace-fixture-${{ matrix.case.name }}
|
name: MobileGL-trace-fixture-${{ matrix.case.name }}
|
||||||
path: trace-fixture-download
|
path: trace-fixture-download
|
||||||
@@ -333,7 +333,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-mobilegl-avd-api35-google_apis-x86_64-pixel_6-v1-${{ hashFiles('android-plugin/run-avd-ci.sh') }}
|
key: ${{ runner.os }}-mobilegl-avd-api35-google_apis-x86_64-pixel_6-v1-${{ hashFiles('android-plugin/run-avd-ci.sh') }}
|
||||||
|
|
||||||
- name: Download retrace APKs
|
- name: Download retrace APKs
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
pattern: MobileGL-retrace-apk-*
|
pattern: MobileGL-retrace-apk-*
|
||||||
path: android-retrace-apks
|
path: android-retrace-apks
|
||||||
@@ -433,7 +433,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Android retrace result
|
- name: Upload Android retrace result
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: MobileGL-android-retrace-result-${{ env.date_today }}-${{ env.short_sha }}-${{ matrix.backend.name }}-${{ matrix.case.name }}
|
name: MobileGL-android-retrace-result-${{ env.date_today }}-${{ env.short_sha }}-${{ matrix.backend.name }}-${{ matrix.case.name }}
|
||||||
path: android-retrace-result/**
|
path: android-retrace-result/**
|
||||||
@@ -447,7 +447,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set artifact metadata
|
- name: Set artifact metadata
|
||||||
run: |
|
run: |
|
||||||
@@ -460,7 +460,7 @@ jobs:
|
|||||||
node-version: '22'
|
node-version: '22'
|
||||||
|
|
||||||
- name: Download Android retrace results
|
- name: Download Android retrace results
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
pattern: MobileGL-android-retrace-result-*
|
pattern: MobileGL-android-retrace-result-*
|
||||||
path: retrace-artifacts
|
path: retrace-artifacts
|
||||||
|
|||||||
+21
-21
@@ -26,7 +26,7 @@ jobs:
|
|||||||
swap-size-gb: 32
|
swap-size-gb: 32
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
uses: lukka/get-cmake@latest
|
uses: lukka/get-cmake@latest
|
||||||
|
|
||||||
- name: Restore ccache
|
- name: Restore ccache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: .ccache
|
path: .ccache
|
||||||
key: ${{ runner.os }}-test-${{ github.job }}-ccache-${{ github.ref_name }}-${{ github.run_id }}
|
key: ${{ runner.os }}-test-${{ github.job }}-ccache-${{ github.ref_name }}-${{ github.run_id }}
|
||||||
@@ -112,7 +112,7 @@ jobs:
|
|||||||
"${SHARED_LIBS[@]}"
|
"${SHARED_LIBS[@]}"
|
||||||
|
|
||||||
- name: Upload Linux runtime
|
- name: Upload Linux runtime
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: mobilegl-linux-runtime
|
name: mobilegl-linux-runtime
|
||||||
path: ci-artifacts/mobilegl-linux-runtime.tgz
|
path: ci-artifacts/mobilegl-linux-runtime.tgz
|
||||||
@@ -124,7 +124,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Get CMake
|
- name: Get CMake
|
||||||
uses: lukka/get-cmake@latest
|
uses: lukka/get-cmake@latest
|
||||||
@@ -135,7 +135,7 @@ jobs:
|
|||||||
sudo apt-get install -y libvulkan1 libegl1 libgles2 libgl1-mesa-dri mesa-vulkan-drivers
|
sudo apt-get install -y libvulkan1 libegl1 libgles2 libgl1-mesa-dri mesa-vulkan-drivers
|
||||||
|
|
||||||
- name: Download Linux runtime
|
- name: Download Linux runtime
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: mobilegl-linux-runtime
|
name: mobilegl-linux-runtime
|
||||||
path: .
|
path: .
|
||||||
@@ -170,7 +170,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Get CMake
|
- name: Get CMake
|
||||||
uses: lukka/get-cmake@latest
|
uses: lukka/get-cmake@latest
|
||||||
@@ -181,7 +181,7 @@ jobs:
|
|||||||
sudo apt-get install -y libvulkan1 libegl1 libgles2 libgl1-mesa-dri mesa-vulkan-drivers
|
sudo apt-get install -y libvulkan1 libegl1 libgles2 libgl1-mesa-dri mesa-vulkan-drivers
|
||||||
|
|
||||||
- name: Download Linux runtime
|
- name: Download Linux runtime
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: mobilegl-linux-runtime
|
name: mobilegl-linux-runtime
|
||||||
path: .
|
path: .
|
||||||
@@ -227,7 +227,7 @@ jobs:
|
|||||||
swap-size-gb: 32
|
swap-size-gb: 32
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
@@ -235,7 +235,7 @@ jobs:
|
|||||||
uses: lukka/get-cmake@latest
|
uses: lukka/get-cmake@latest
|
||||||
|
|
||||||
- name: Restore ccache
|
- name: Restore ccache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: .ccache
|
path: .ccache
|
||||||
key: ${{ runner.os }}-test-${{ github.job }}-ccache-${{ github.ref_name }}-${{ github.run_id }}
|
key: ${{ runner.os }}-test-${{ github.job }}-ccache-${{ github.ref_name }}-${{ github.run_id }}
|
||||||
@@ -268,7 +268,7 @@ jobs:
|
|||||||
dpkg -l 'libc++*' 'libegl*' 'libgles*' 'mesa*' 'vulkan*' || true
|
dpkg -l 'libc++*' 'libegl*' 'libgles*' 'mesa*' 'vulkan*' || true
|
||||||
|
|
||||||
- name: Download Linux runtime
|
- name: Download Linux runtime
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: mobilegl-linux-runtime
|
name: mobilegl-linux-runtime
|
||||||
path: .
|
path: .
|
||||||
@@ -326,7 +326,7 @@ jobs:
|
|||||||
build-retrace/tools/trace_replay/CTestTestfile.cmake
|
build-retrace/tools/trace_replay/CTestTestfile.cmake
|
||||||
|
|
||||||
- name: Upload trace replay
|
- name: Upload trace replay
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: mobilegl-trace-replay
|
name: mobilegl-trace-replay
|
||||||
path: ci-artifacts/mobilegl-trace-replay.tgz
|
path: ci-artifacts/mobilegl-trace-replay.tgz
|
||||||
@@ -342,7 +342,7 @@ jobs:
|
|||||||
names: ${{ steps.trace-cases.outputs.names }}
|
names: ${{ steps.trace-cases.outputs.names }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Load trace cases
|
- name: Load trace cases
|
||||||
id: trace-cases
|
id: trace-cases
|
||||||
@@ -359,7 +359,7 @@ jobs:
|
|||||||
case: ${{ fromJSON(needs.trace-cases.outputs.names) }}
|
case: ${{ fromJSON(needs.trace-cases.outputs.names) }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Fetch trace fixture
|
- name: Fetch trace fixture
|
||||||
run: bash .github/scripts/fetch-trace-fixture-lfs.sh '${{ matrix.case }}'
|
run: bash .github/scripts/fetch-trace-fixture-lfs.sh '${{ matrix.case }}'
|
||||||
@@ -375,7 +375,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Upload trace fixture
|
- name: Upload trace fixture
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: trace-fixture-${{ matrix.case }}
|
name: trace-fixture-${{ matrix.case }}
|
||||||
path: trace-fixtures/**
|
path: trace-fixtures/**
|
||||||
@@ -406,10 +406,10 @@ jobs:
|
|||||||
swap-size-gb: 16
|
swap-size-gb: 16
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Download trace fixture
|
- name: Download trace fixture
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: trace-fixture-${{ matrix.case }}
|
name: trace-fixture-${{ matrix.case }}
|
||||||
path: trace-fixture-download
|
path: trace-fixture-download
|
||||||
@@ -430,13 +430,13 @@ jobs:
|
|||||||
test -e /usr/lib/x86_64-linux-gnu/libGLESv2.so
|
test -e /usr/lib/x86_64-linux-gnu/libGLESv2.so
|
||||||
|
|
||||||
- name: Download Linux runtime
|
- name: Download Linux runtime
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: mobilegl-linux-runtime
|
name: mobilegl-linux-runtime
|
||||||
path: .
|
path: .
|
||||||
|
|
||||||
- name: Download trace replay
|
- name: Download trace replay
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: mobilegl-trace-replay
|
name: mobilegl-trace-replay
|
||||||
path: .
|
path: .
|
||||||
@@ -458,7 +458,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload actual image
|
- name: Upload actual image
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: retrace-result-${{ matrix.backend }}-${{ matrix.case }}
|
name: retrace-result-${{ matrix.backend }}-${{ matrix.case }}
|
||||||
path: |
|
path: |
|
||||||
@@ -474,7 +474,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set artifact metadata
|
- name: Set artifact metadata
|
||||||
run: |
|
run: |
|
||||||
@@ -487,7 +487,7 @@ jobs:
|
|||||||
node-version: '22'
|
node-version: '22'
|
||||||
|
|
||||||
- name: Download retrace results
|
- name: Download retrace results
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
pattern: retrace-result-*
|
pattern: retrace-result-*
|
||||||
path: retrace-artifacts
|
path: retrace-artifacts
|
||||||
|
|||||||
Reference in New Issue
Block a user