test nix actions?

This commit is contained in:
xenia 2024-02-03 12:56:27 +01:00
parent 672c88559c
commit 6006d366c2

View File

@ -8,23 +8,16 @@ on:
name: fox32asm Unstable - Linux name: fox32asm Unstable - Linux
jobs: jobs:
fox32asm-unstable-linux: fox32asm-nix:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with: with:
toolchain: stable github_access_token: ${{ secrets.GITHUB_TOKEN }}
override: true
- name: Build - name: Build
run: cargo build --release run: nix build .#fox32asm
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: fox32asm
path: target/release/fox32asm