1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

feat: push artifacts

This commit is contained in:
Kevin Amado 2022-02-11 21:18:21 -05:00
parent 4af8da0b79
commit 85f1ce4ddd
No known key found for this signature in database
GPG key ID: FFF341057F503148
2 changed files with 11 additions and 3 deletions

View file

@ -4,12 +4,18 @@ steps:
- nix3 build
- label: cache
artifacts:
- aarch64-unknown-linux-musl
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
if: build.branch == "main"
command:
- echo +++
- nix3 build
- nix3 build --out-link aarch64-unknown-linux-musl .#aarch64-unknown-linux-musl
- cachix push alejandra result
- nix3 build .#packages.x86_64-linux.musl
- nix3 build --out-link x86_64-unknown-linux-gnu .#x86_64-unknown-linux-gnu
- cachix push alejandra result
- nix3 build --out-link x86_64-unknown-linux-musl .#x86_64-unknown-linux-musl
- cachix push alejandra result
- nix3 develop --profile develop --command true