make target mandatory input

This commit is contained in:
Clément DOUIN
2024-11-24 23:05:41 +01:00
parent 3852b5abca
commit 44d94be99d
5 changed files with 72 additions and 50 deletions
+12 -5
View File
@@ -11,23 +11,31 @@ jobs:
matrix:
include:
- target: aarch64-apple-darwin
artifact: macos.aarch64
os: macos-14
- target: aarch64-unknown-linux-musl
artifact: linux.aarch64
os: ubuntu-latest
- target: armv6l-unknown-linux-musleabihf
artifact: linux.armv6l
os: ubuntu-latest
- target: armv7l-unknown-linux-musleabihf
artifact: linux.armv7l
os: ubuntu-latest
- target: i686-unknown-linux-musl
artifact: linux.i686
os: ubuntu-latest
- target: i686-w64-mingw32
artifact: windows.i686
os: ubuntu-latest
# FIXME
# - target: i686-w64-mingw32
# os: ubuntu-latest
- target: x86_64-apple-darwin
artifact: macos.x86_64
os: macos-13
- target: x86_64-unknown-linux-musl
artifact: linux.x86_64
os: ubuntu-latest
- target: x86_64-w64-mingw32
artifact: windows.x86_64
os: ubuntu-latest
steps:
- name: Checkout code
@@ -37,7 +45,6 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-24.05
enable_kvm: true
# extra_nix_config: "experimental-features = nix-command flakes"
- name: Cache Nix store
uses: cachix/cachix-action@v15
with:
@@ -50,7 +57,7 @@ jobs:
- name: Upload release artifacts
uses: actions/upload-artifact@v4
with:
name: "himalaya.${{ matrix.target }}"
name: "himalaya.${{ matrix.artifact }}"
path: |
result/bin/himalaya*
result/bin/share