mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 20:35:28 +02:00
Add conditional checks for aarch64 architecture in Windows release build workflow
This commit is contained in:
parent
5fcb120811
commit
5c00c8f1ab
1 changed files with 7 additions and 1 deletions
8
.github/workflows/windows-release-build.yml
vendored
8
.github/workflows/windows-release-build.yml
vendored
|
@ -32,6 +32,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Free Disk Space (Ubuntu)
|
- name: Free Disk Space (Ubuntu)
|
||||||
uses: jlumbroso/free-disk-space@main
|
uses: jlumbroso/free-disk-space@main
|
||||||
|
if: ${{ !(inputs.generate-gpo && matrix.arch == 'aarch64') }}
|
||||||
with:
|
with:
|
||||||
tool-cache: false
|
tool-cache: false
|
||||||
|
|
||||||
|
@ -62,6 +63,7 @@ jobs:
|
||||||
run: pnpm surfer ci --brand ${{ inputs.release-branch }} --display-version ${{ inputs.build-version }}
|
run: pnpm surfer ci --brand ${{ inputs.release-branch }} --display-version ${{ inputs.build-version }}
|
||||||
|
|
||||||
- name: Download Firefox and dependencies
|
- name: Download Firefox and dependencies
|
||||||
|
if: ${{ !(inputs.generate-gpo && matrix.arch == 'aarch64') }}
|
||||||
run: pnpm surfer download
|
run: pnpm surfer download
|
||||||
|
|
||||||
- name: win-cross Cache
|
- name: win-cross Cache
|
||||||
|
@ -81,7 +83,7 @@ jobs:
|
||||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
||||||
|
|
||||||
- name: Setup for Windows
|
- name: Setup for Windows
|
||||||
if: steps.cache-win-cross.outputs.cache-hit != 'true'
|
if: steps.cache-win-cross.outputs.cache-hit != 'true' && !(inputs.generate-gpo && matrix.arch == 'aarch64')
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
mkdir -p ~/win-cross
|
mkdir -p ~/win-cross
|
||||||
|
@ -95,6 +97,7 @@ jobs:
|
||||||
./mach python --virtualenv build taskcluster/scripts/misc/get_vs.py build/vs/vs2022.yaml ~/win-cross/vs2022
|
./mach python --virtualenv build taskcluster/scripts/misc/get_vs.py build/vs/vs2022.yaml ~/win-cross/vs2022
|
||||||
|
|
||||||
- name: Bootstrap
|
- name: Bootstrap
|
||||||
|
if: ${{ !(inputs.generate-gpo && matrix.arch == 'aarch64') }}
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
cd engine/
|
cd engine/
|
||||||
|
@ -113,6 +116,7 @@ jobs:
|
||||||
ls ~/win-cross/vs2022 || true
|
ls ~/win-cross/vs2022 || true
|
||||||
|
|
||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
|
if: ${{ !(inputs.generate-gpo && matrix.arch == 'aarch64') }}
|
||||||
run: |
|
run: |
|
||||||
cd engine/
|
cd engine/
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79
|
||||||
|
@ -129,11 +133,13 @@ jobs:
|
||||||
echo "export MOZ_WINDOWS_RS_DIR=$(pwd)/windows-0.58.0" >> ../configs/common/mozconfig
|
echo "export MOZ_WINDOWS_RS_DIR=$(pwd)/windows-0.58.0" >> ../configs/common/mozconfig
|
||||||
|
|
||||||
- name: Import
|
- name: Import
|
||||||
|
if: ${{ !(inputs.generate-gpo && matrix.arch == 'aarch64') }}
|
||||||
env:
|
env:
|
||||||
SURFER_COMPAT: ${{ matrix.arch }}
|
SURFER_COMPAT: ${{ matrix.arch }}
|
||||||
run: pnpm surfer import --verbose
|
run: pnpm surfer import --verbose
|
||||||
|
|
||||||
- name: Build language packs
|
- name: Build language packs
|
||||||
|
if: ${{ !(inputs.generate-gpo && matrix.arch == 'aarch64') }}
|
||||||
run: sh scripts/download-language-packs.sh
|
run: sh scripts/download-language-packs.sh
|
||||||
|
|
||||||
- name: Download artifact (if use profdata)
|
- name: Download artifact (if use profdata)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue