Compare commits
5 Commits
758b9c9cb7
...
96e1bf0808
Author | SHA1 | Date | |
---|---|---|---|
96e1bf0808 | |||
bff644b664 | |||
6006d366c2 | |||
672c88559c | |||
c9c40cdc1c |
20
.github/workflows/fox32asm-unstable-linux.yml
vendored
20
.github/workflows/fox32asm-unstable-linux.yml
vendored
|
@ -3,27 +3,29 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- github-actions
|
||||
|
||||
name: fox32asm Unstable - Linux
|
||||
|
||||
jobs:
|
||||
fox32asm-unstable-linux:
|
||||
fox32asm-nix:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
- uses: cachix/install-nix-action@v22
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release
|
||||
run: nix build -L .#fox32asm
|
||||
|
||||
- name: Upload artifact
|
||||
- name: Patch
|
||||
run: nix run nixpkgs#patchelf -- result/bin/fox32asm --set-interpreter /lib64/ld-linux-x86-64.so.2 --output fox32asm
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: fox32asm
|
||||
path: target/release/fox32asm
|
||||
path: fox32asm
|
||||
|
|
Loading…
Reference in New Issue
Block a user