Skip to content

Commit 153cf1e

Browse files
committed
test linux build
1 parent a4f810e commit 153cf1e

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

.github/workflows/linux.yml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,36 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
arch: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]
14+
arch: [
15+
x86_64-unknown-linux-gnu,
16+
aarch64-unknown-linux-gnu
17+
]
1518

1619
steps:
1720
- name: Checkout code
1821
uses: actions/checkout@v4
1922

2023
- name: Install Rust stable
2124
uses: dtolnay/rust-toolchain@stable
25+
2226
- name: Add Rust target
2327
run: rustup target add ${{ matrix.arch }}
2428

25-
- name: Install dependencies
29+
- name: Install system dependencies
2630
run: |
2731
sudo apt-get update
2832
sudo apt-get install -y \
29-
libgtk-3-dev \
33+
curl \
3034
libwebkit2gtk-4.1-dev \
31-
libayatana-appindicator3-dev \
35+
libappindicator3-dev \
3236
librsvg2-dev \
33-
pkg-config \
34-
build-essential \
35-
curl \
37+
patchelf \
3638
gstreamer1.0-plugins-base \
3739
gstreamer1.0-plugins-good \
3840
gstreamer1.0-plugins-bad \
3941
gstreamer1.0-plugins-ugly \
4042
gstreamer1.0-libav \
41-
gstreamer1.0-vaapi \
42-
patchelf
43-
if [ "${{ matrix.arch }}" = "aarch64-unknown-linux-gnu" ]; then
44-
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
45-
fi
43+
gstreamer1.0-vaapi
4644
4745
- name: Set up Bun
4846
uses: oven-sh/setup-bun@v2
@@ -52,13 +50,16 @@ jobs:
5250
- name: Install frontend dependencies
5351
run: bun install
5452

55-
- name: Build Linux AppImage
56-
run: bun tauri build --target ${{ matrix.arch }}
57-
58-
- name: Upload AppImage and signature
59-
uses: actions/upload-artifact@v4
53+
- name: Build Tauri app
54+
uses: tauri-apps/tauri-action@v1
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6057
with:
61-
name: hyperionbox-linux-${{ matrix.arch }}
62-
path: |
63-
src-tauri/target/${{ matrix.arch }}/release/bundle/appimage/*.AppImage
64-
src-tauri/target/${{ matrix.arch }}/release/bundle/appimage/*.sig
58+
tagName: app-v__VERSION__ # __VERSION__ auto-replaced
59+
releaseName: 'App v__VERSION__'
60+
releaseBody: 'See the assets to download this version and install.'
61+
releaseDraft: true
62+
prerelease: false
63+
args: --target ${{ matrix.arch }}
64+
65+

0 commit comments

Comments
 (0)