-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.14 KB
/
linux_dynamic.yml
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
name: Build-Linux-Dynamic
on:
push:
branches:
- release
tags:
- "*"
pull_request:
branches:
- release
- master
workflow_dispatch:
jobs:
build:
name: Rust project
runs-on: ubuntu-latest
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Install Dependencies
run: sudo apt-get update; sudo apt-get install libarchive-dev libgtk-3-dev webkit2gtk-4.1 libgtksourceview-3.0-dev libayatana-appindicator3-dev llvm-18-dev
- uses: actions/checkout@v4
- uses: r7kamura/rust-problem-matchers@v1
- name: Build
run: cargo build --profile=ci
- name: Test
run: cargo test --profile=ci --no-fail-fast --features="leaky-api" -- --nocapture
- name: Install cargo-packager
run: (cargo install cargo-packager || true)
- name: Run cargo-packager
run: cargo packager --profile=ci --formats appimage
- uses: actions/upload-artifact@v4
with:
name: linux_dynamic
path: target/release/moss