-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
36 lines (33 loc) · 800 Bytes
/
.gitlab-ci.yml
File metadata and controls
36 lines (33 loc) · 800 Bytes
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
image: "rust:latest"
stages:
- build
build_x86_64:
stage: build
script:
- apt-get update && apt-get install -y grub-efi-amd64-bin xorriso mtools
- rustup default nightly
- rustup target add x86_64-unknown-none
- cargo xtask build x86_64 --release
artifacts:
paths:
- bin/
build_aarch64:
stage: build
script:
- rustup default nightly
- rustup target add aarch64-unknown-uefi
- rustup target add aarch64-unknown-none-softfloat
- cargo xtask build aarch64 --release
artifacts:
paths:
- bin/
build_riscv64:
stage: build
script:
- rustup default nightly
- rustup target add riscv64imac-unknown-none-elf
- rustup component add rust-src
- cargo xtask build riscv64 --release
artifacts:
paths:
- bin/