initial commit
This commit is contained in:
commit
8e1813ca0d
14 changed files with 2005 additions and 0 deletions
21
.gitlab-ci.yml
Normal file
21
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
build:
|
||||
stage: build
|
||||
image: nixos/nix
|
||||
parallel:
|
||||
matrix:
|
||||
- ARCH: ["x86_64", "aarch64"]
|
||||
tags:
|
||||
- ${ARCH}
|
||||
before_script:
|
||||
- |
|
||||
cat >> /etc/nix/nix.conf << EOF
|
||||
experimental-features = nix-command flakes
|
||||
EOF
|
||||
- nix profile install nixpkgs#cargo nixpkgs#nix-eval-jobs nixpkgs#gcc
|
||||
- nix --version
|
||||
script:
|
||||
- cargo build --release
|
||||
- target/release/nix-ci --check-cached
|
||||
Loading…
Add table
Add a link
Reference in a new issue