-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (47 loc) · 1.38 KB
/
build_and_prerelease_linux.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
46
47
48
49
50
51
52
name: Linux build
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
target: x86_64-unknown-linux-gnu
- uses: Swatinem/rust-cache@v1
- name: Dependencies
run: sudo apt update && sudo apt install libgtk-3-dev libcogl-pango-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev
- uses: actions-rs/cargo@v1
with:
command: build
toolchain: nightly
args: --bins --release
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: nightly
- uses: ncipollo/release-action@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
allowUpdates: true
removeArtifacts: false
prerelease: true
draft: false
tag: latest
name: "Development Build"
generateReleaseNotes: true
artifacts: |
target/release/basm,
target/release/visual-basm,
target/release/bdasm,
target/release/catalog,
target/release/hideur,
target/release/imgconverter,
target/release/snapshot,
target/release/locomotive