1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 00:10:00 +02:00

.github/workflows: Migrate workflows to Blacksmith runners (#9104)

Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
This commit is contained in:
blacksmith-sh[bot] 2025-06-20 14:02:23 +02:00 committed by GitHub
parent a435d4ec18
commit 8bc4c97215
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 21 deletions

View file

@ -52,7 +52,7 @@ on:
jobs:
debug-inputs:
name: Debug inputs
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: Debug
run: |
@ -66,7 +66,7 @@ jobs:
buildid:
name: Generate build ID
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
outputs:
buildids: ${{ steps.get.outputs.bid }}
steps:
@ -77,7 +77,7 @@ jobs:
echo "bid=${bdat}" >> $GITHUB_OUTPUT
start-self-host:
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
needs: debug-inputs
steps:
- name: Download aws-cli
@ -102,7 +102,7 @@ jobs:
rm start.sh || true
check-build-is-correct:
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
needs: [debug-inputs]
steps:
- name: Checkout repository
@ -135,7 +135,7 @@ jobs:
permissions:
contents: write
name: Generate build data
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
needs: check-build-is-correct
outputs:
build_date: ${{ steps.data.outputs.builddate }}
@ -149,7 +149,7 @@ jobs:
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
uses: useblacksmith/setup-node@v5
with:
node-version-file: '.nvmrc'
@ -199,7 +199,7 @@ jobs:
name: Lint
check-release:
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
needs: [build-data, lint]
steps:
- name: Checkout repository
@ -209,7 +209,7 @@ jobs:
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
uses: useblacksmith/setup-node@v5
with:
node-version-file: '.nvmrc'
@ -240,7 +240,7 @@ jobs:
source:
permissions:
contents: write
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
needs: [build-data, check-release]
steps:
@ -251,7 +251,7 @@ jobs:
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
uses: useblacksmith/setup-node@v5
with:
node-version-file: '.nvmrc'
@ -368,7 +368,7 @@ jobs:
name: AppImage build - Linux ${{ matrix.arch }}
permissions:
contents: write
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
strategy:
matrix:
arch: [x86_64, aarch64]
@ -381,7 +381,7 @@ jobs:
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
uses: useblacksmith/setup-node@v5
with:
node-version-file: '.nvmrc'
@ -446,7 +446,7 @@ jobs:
path: ./dist/zen-${{ matrix.arch }}.AppImage.zsync
stop-self-hosted:
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
needs: [windows-step-3, linux]
if: always()
steps:
@ -487,7 +487,7 @@ jobs:
lint,
stop-self-hosted,
]
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
environment:
name: ${{ inputs.update_branch == 'release' && 'Deploy-Release' || 'Deploy-Twilight' }}
@ -614,7 +614,7 @@ jobs:
permissions: write-all
name: Prepare Flatpak
needs: [release, linux, build-data]
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: Checkout Flatpak repository
@ -673,7 +673,7 @@ jobs:
permissions: write-all
name: Release Flatpak
needs: [prepare-flatpak, build-data]
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: Checkout Flatpak repository

View file

@ -26,7 +26,7 @@ jobs:
permissions:
contents: write
# aarch64 does not need full 16x
runs-on: ${{ (inputs.release-branch == 'release' && matrix.arch == 'x86_64') && 'self-hosted' || 'ubuntu-latest' }}
runs-on: ${{ (inputs.release-branch == 'release' && matrix.arch == 'x86_64') && 'self-hosted' || 'blacksmith-8vcpu-ubuntu-2404' }}
strategy:
fail-fast: false
matrix:
@ -55,7 +55,7 @@ jobs:
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
uses: useblacksmith/setup-node@v5
with:
node-version-file: '.nvmrc'

View file

@ -35,7 +35,7 @@ jobs:
windows-build:
name: Build Windows - ${{ matrix.arch }}
# aarch64 does not need full 16x, and we also dont use full LTO when generating GPO
runs-on: ${{ (inputs.release-branch == 'release' && !inputs.generate-gpo && matrix.arch == 'x86_64') && 'self-hosted' || 'ubuntu-latest' }}
runs-on: ${{ (inputs.release-branch == 'release' && !inputs.generate-gpo && matrix.arch == 'x86_64') && 'self-hosted' || 'blacksmith-8vcpu-ubuntu-2404' }}
env:
SCCACHE_GHA_ENABLED: ${{ inputs.use-sccache && 'true' || 'false' }}
CARGO_TERM_COLOR: always
@ -64,7 +64,7 @@ jobs:
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
uses: useblacksmith/setup-node@v5
with:
node-version-file: '.nvmrc'
@ -103,7 +103,7 @@ jobs:
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5
id: cache-win-cross
uses: actions/cache@v4
uses: useblacksmith/cache@v5
with:
path: ${HOME}/win-cross
key: win-cross