Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (29 sloc)
734 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: "opensuse/tumbleweed:latest" | |
stages: | |
- build | |
build_x86_64: | |
stage: build | |
script: | |
- zypper in -y curl grub2 grub2-x86_64-efi mtools make gcc xorriso | |
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly | |
- source ~/.cargo/env | |
- rustc --version | |
- cargo --version | |
- rustup component add rust-src | |
- make iso | |
artifacts: | |
paths: | |
- bin/ | |
build_aarch64: | |
stage: build | |
script: | |
- zypper in -y curl make gcc | |
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly | |
- source ~/.cargo/env | |
- rustc --version | |
- cargo --version | |
- rustup component add rust-src | |
- make TARGET_ARCH=aarch64 | |
artifacts: | |
paths: | |
- bin/ |