mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
ci: Switch to version 4 of GitHub artifact actions (#31357)
* ci: Switch to version 4 of GitHub artifact actions This switches to version 4 of the GitHub artifact actions, which requires producing a single artifact per job and adding merge steps. In addition, the names of artifacts are standardized: - Build: <profile>-binary-<platform> - Full WPT results (only on failure): wpt-full-logs-<platform>-<layout> - Filtered WPT results (only on failure): wpt-filtered-logs-<platform>-<layout> * Delete merged build timings and combine with Result job * Always archives logs even after test failures * Correct the name of the log files for WPT import
This commit is contained in:
parent
d5c9e569bf
commit
1cc546c4fc
9 changed files with 144 additions and 133 deletions
11
.github/workflows/android.yml
vendored
11
.github/workflows/android.yml
vendored
|
@ -70,20 +70,19 @@ jobs:
|
|||
ANDROID_NDK_ROOT: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
run: |
|
||||
python3 ./mach build --android --target ${{ matrix.arch }} --${{ inputs.profile }}
|
||||
cp -r target/cargo-timings target/cargo-timings-android-${{ matrix.arch }}
|
||||
# TODO: This is disabled since APK crashes during startup.
|
||||
# See https://github.com/servo/servo/issues/31134
|
||||
# - name: Script tests
|
||||
# run: ./mach test-android-startup
|
||||
- name: Rename build timing
|
||||
run: cp -r target/cargo-timings target/cargo-timings-android-${{ matrix.arch }}
|
||||
- name: Archive build timing
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: cargo-timings
|
||||
name: cargo-timings-android-${{ matrix.arch }}
|
||||
# Using a wildcard here ensures that the archive includes the path.
|
||||
path: target/cargo-timings-*
|
||||
- name: Upload APK artifact for mach package
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: android-${{ matrix.arch }}-${{ inputs.profile }}
|
||||
name: ${{ inputs.profile }}-binary-android-${{ matrix.arch }}
|
||||
path: target/android/${{ matrix.arch }}/${{ inputs.profile }}/servoapp.apk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue