forked from 0x192/universal-android-debloater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
57 lines (43 loc) · 1.64 KB
/
.gitlab-ci.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
53
54
55
56
57
image: rustlang/rust:nightly-bullseye
default:
before_script:
- rustc --version
- cargo --version
stages:
- build
i686-pc-windows-gnu:
stage: build
before_script:
- apt update -yqq && apt install -yqq mingw-w64
- rustup target add i686-pc-windows-gnu
script:
- cargo build --features glow --release --target i686-pc-windows-gnu
- mv target/i686-pc-windows-gnu/release/uad_gui.exe target/i686-pc-windows-gnu/release/uad_gui-opengl.exe
artifacts:
paths:
- target/i686-pc-windows-gnu/release/uad_gui-opengl.exe
x86_64-pc-windows-gnu:
stage: build
before_script:
- apt update -yqq && apt install -yqq mingw-w64
- rustup target add x86_64-pc-windows-gnu
script:
- cargo build --features glow --release --target x86_64-pc-windows-gnu
- mv target/x86_64-pc-windows-gnu/release/uad_gui.exe target/x86_64-pc-windows-gnu/release/uad_gui-opengl.exe
- cargo build --features wgpu --release --target x86_64-pc-windows-gnu
artifacts:
paths:
- target/x86_64-pc-windows-gnu/release/uad_gui.exe
- target/x86_64-pc-windows-gnu/release/uad_gui-opengl.exe
x86_64-unknown-linux-gnu:
stage: build
before_script:
- apt update -yqq && apt install -yqq libxkbcommon-dev lld
script:
- cargo build --features glow --release --target x86_64-unknown-linux-gnu
- mv target/x86_64-unknown-linux-gnu/release/uad_gui target/x86_64-unknown-linux-gnu/release/uad_gui-opengl
- cargo build --features wgpu --release --target x86_64-unknown-linux-gnu
artifacts:
paths:
- target/x86_64-unknown-linux-gnu/release/uad_gui
- target/x86_64-unknown-linux-gnu/release/uad_gui-opengl