Repository navigation
65 lines (55 loc) · 1.72 KB
/
Copy pathrelease-linux.yml
File metadata and controls
65 lines (55 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Build Linux release artifacts
on:
workflow_dispatch:
push:
branches:
- "release/**"
permissions:
contents: read
jobs:
build:
name: Linux ${{ matrix.arch }}
strategy:
fail-fast: false
matrix:
include:
- runner: ubuntu-24.04
arch: x64
metadata: latest-linux.yml
unpacked: linux-unpacked
- runner: ubuntu-24.04-arm
arch: arm64
metadata: latest-linux-arm64.yml
unpacked: linux-arm64-unpacked
runs-on: ${{ matrix.runner }}
steps:
- name: Check out source
uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Install Linux packaging tools
run: |
sudo apt-get update
sudo apt-get install --yes libarchive-tools xvfb
- name: Build Linux packages
run: npm run dist:linux:${{ matrix.arch }}
- name: Test packaged desktop, CLI, and MCP
run: |
sudo chown root:root dist/${{ matrix.unpacked }}/chrome-sandbox
sudo chmod 4755 dist/${{ matrix.unpacked }}/chrome-sandbox
xvfb-run --auto-servernum node scripts/test-packaged-app-launch.js --app dist/${{ matrix.unpacked }}/signboard
- name: Upload release artifacts
uses: actions/upload-artifact@v7
with:
name: signboard-linux-${{ matrix.arch }}
if-no-files-found: error
path: |
dist/signboard_*_linux_*.AppImage
dist/signboard_*_linux_*.deb
dist/signboard_*_linux_*.pacman
dist/${{ matrix.metadata }}