forked from lix-project/lix-installer
6ec5080a2f
* How about a CI API call reduction? * Not everyone uses Nix with flakes, turns out we are one of them * Unbreak GHA file * Purge github actifacts use * Missed one. * chmod right path * chmod right binary name * Fix steam deck, mac still broken due to containers * Attempt to use github cache instead of the buildkite action * See if we get the right artifacts * Skip a test that Macs dislike * Write GHA file correctly * Refine jobs on buildkite and pathes on gha * Better output * Even more output! * Use correct folder structure
52 lines
2.3 KiB
YAML
52 lines
2.3 KiB
YAML
steps:
|
|
- label: nix-installer-x86_64-darwin
|
|
agents:
|
|
mac: 1
|
|
system: x86_64-darwin
|
|
nix: 1
|
|
command:
|
|
- nix --extra-experimental-features "nix-command flakes" build .#packages.x86_64-darwin.nix-installer -L
|
|
- cp result/bin/nix-installer ./nix-installer-x86_64-darwin
|
|
- buildkite-agent artifact upload nix-installer-x86_64-darwin
|
|
- label: nix-installer-aarch64-darwin
|
|
agents:
|
|
mac: 1
|
|
system: aarch64-darwin
|
|
nix: 1
|
|
command:
|
|
- nix --extra-experimental-features "nix-command flakes" build .#packages.aarch64-darwin.nix-installer -L
|
|
- cp result/bin/nix-installer ./nix-installer-aarch64-darwin
|
|
- buildkite-agent artifact upload nix-installer-aarch64-darwin
|
|
- label: nix-installer-x86_64-linux
|
|
agents:
|
|
system: x86_64-linux
|
|
nix: 1
|
|
command:
|
|
- nix --extra-experimental-features "nix-command flakes" build .#packages.x86_64-linux.nix-installer-static -L
|
|
- cp result/bin/nix-installer ./nix-installer-x86_64-linux
|
|
- buildkite-agent artifact upload nix-installer-x86_64-linux
|
|
- label: nix-installer-x86_64-linux-variants
|
|
agents:
|
|
system: x86_64-linux
|
|
nix: 1
|
|
command:
|
|
- nix --extra-experimental-features "nix-command flakes" develop --store ~/.ci-store --print-build-logs .# --command "cargo" build --no-default-features
|
|
- nix --extra-experimental-features "nix-command flakes" develop --store ~/.ci-store --print-build-logs .# --command "cargo" build --all-features
|
|
- nix --extra-experimental-features "nix-command flakes" build --store ~/.ci-store --print-build-logs .#packages.x86_64-linux.nix-installer
|
|
- label: nix-installer-i686-linux
|
|
agents:
|
|
system: x86_64-linux
|
|
nix: 1
|
|
command:
|
|
- nix --extra-experimental-features "nix-command flakes" build .#packages.i686-linux.nix-installer-static -L
|
|
- cp result/bin/nix-installer ./nix-installer-i686-linux
|
|
- buildkite-agent artifact upload nix-installer-i686-linux
|
|
- label: nix-installer-aarch64-linux
|
|
agents:
|
|
system: aarch64-linux
|
|
nix: 1
|
|
command:
|
|
- nix --extra-experimental-features "nix-command flakes" build .#packages.aarch64-linux.nix-installer-static -L
|
|
- cp result/bin/nix-installer ./nix-installer-aarch64-linux
|
|
- buildkite-agent artifact upload nix-installer-aarch64-linux
|