mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-22 02:50:19 +00:00
upload built test binary to github artifacts
This commit is contained in:
parent
681837b48d
commit
34fbf5b603
2 changed files with 12 additions and 10 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
@ -36,20 +36,19 @@ jobs:
|
||||||
- target: x86_64-windows
|
- target: x86_64-windows
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
- target: x86_64-darwin
|
- target: x86_64-darwin
|
||||||
os: macos-latest
|
os: macos-13
|
||||||
# FIXME: build broken
|
- target: aarch64-darwin
|
||||||
# - target: aarch64-darwin
|
os: macos-14
|
||||||
# os: macos-latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v24
|
uses: cachix/install-nix-action@v27
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-23.11
|
nix_path: nixpkgs=channel:nixos-24.05
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
- uses: cachix/cachix-action@v12
|
- uses: cachix/cachix-action@v15
|
||||||
with:
|
with:
|
||||||
name: soywod
|
name: soywod
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
@ -34,8 +34,11 @@ jobs:
|
||||||
name: soywod
|
name: soywod
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
extraPullNames: nix-community
|
extraPullNames: nix-community
|
||||||
- name: Run app
|
- name: Build release
|
||||||
run: |
|
run: |
|
||||||
nix build -L .#${{ matrix.target }}
|
|
||||||
nix run -L .#${{ matrix.target }} -- --version
|
nix run -L .#${{ matrix.target }} -- --version
|
||||||
ls -R result
|
- name: Upload release artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: release
|
||||||
|
path: result
|
||||||
|
|
Loading…
Reference in a new issue