Skip to content

Commit 4110604

Browse files
committed
test(desktop): reuse the built ARM64 AppImage for verification
1 parent c9030a6 commit 4110604

1 file changed

Lines changed: 3 additions & 43 deletions

File tree

‎.github/workflows/linux-arm64-bytecode-validation.yml‎

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -12,60 +12,20 @@ permissions:
1212
contents: read
1313
actions: read
1414
jobs:
15-
bundle:
16-
runs-on: blacksmith-8vcpu-ubuntu-2404-arm
17-
timeout-minutes: 20
18-
steps:
19-
- uses: actions/checkout@v6
20-
with:
21-
sparse-checkout: |
22-
/*
23-
!/.repos/
24-
sparse-checkout-cone-mode: false
25-
- uses: ./.github/actions/setup-ci-deps
26-
with:
27-
install-args: --filter=t3... --filter=@t3tools/web... --filter=@t3tools/desktop... --filter=@t3tools/scripts...
28-
- run: vp test run --config ../vite.config.ts lib/server-compile-cache.test.ts
29-
working-directory: scripts
30-
- run: vp run build:desktop:bundle
31-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
32-
with:
33-
name: js-bundle
34-
path: |
35-
apps/server/dist
36-
apps/desktop/dist-electron
37-
retention-days: 3
38-
package:
39-
needs: bundle
40-
uses: ./.github/workflows/release-desktop.yml
41-
with:
42-
label: Linux ARM64 bytecode validation
43-
runner: blacksmith-16vcpu-ubuntu-2404-arm
44-
platform: linux
45-
target: AppImage
46-
arch: arm64
47-
rust_target: aarch64-unknown-linux-gnu
48-
resource_key: linux-arm64
49-
version: 0.0.0-bytecode-test.1
50-
ref: ${{ github.sha }}
51-
release_channel: preview
52-
relay_client_tracing: false
53-
clerk_publishable_key: ""
54-
clerk_jwt_template: ""
55-
clerk_cli_oauth_client_id: ""
56-
relay_url: ""
5715
verify:
58-
needs: package
5916
runs-on: blacksmith-4vcpu-ubuntu-2404-arm
6017
timeout-minutes: 10
6118
steps:
6219
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
6320
with:
6421
name: desktop-linux-arm64
22+
run-id: 42515139484
23+
github-token: ${{ github.token }}
6524
path: artifact
6625
- uses: actions/checkout@v6
6726
with:
6827
sparse-checkout: .github/actions/setup-apt-mirrors
28+
clean: false
6929
- uses: ./.github/actions/setup-apt-mirrors
7030
- run: sudo apt-get update && sudo apt-get install -y libgtk-3-0t64 libnss3 libasound2t64 libgbm1 libsecret-1-0
7131
- name: Verify prepared bytecode with packaged ARM64 Electron

0 commit comments

Comments
 (0)