mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Package in platform workflows
This commit is contained in:
parent
cfef75c99b
commit
ec5b646b50
4 changed files with 53 additions and 4 deletions
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
|
@ -34,6 +34,7 @@ env:
|
|||
RUST_BACKTRACE: 1
|
||||
SHELL: /bin/bash
|
||||
LAYOUT: "${{ contains(inputs.layout, '2020') && 'layout-2020' || 'layout-2013' }}"
|
||||
PACKAGE: "${{ contains(inputs.layout, '2020') && 'linux-layout2020' || 'linux' }}"
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
RUSTC_WRAPPER: "sccache"
|
||||
CCACHE: "sccache"
|
||||
|
@ -65,6 +66,13 @@ jobs:
|
|||
run: python3 ./mach test-unit --release --with-${{ env.LAYOUT }}
|
||||
- name: Lockfile check
|
||||
run: ./etc/ci/lockfile_changed.sh
|
||||
- name: Package
|
||||
run: python3 ./mach package --release
|
||||
- name: Upload Package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.PACKAGE }}
|
||||
path: target/release/servo-tech-demo.tar.gz
|
||||
- name: Package binary
|
||||
run: tar -czf target.tar.gz target/release/servo resources
|
||||
- name: Archive binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue