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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- github-actions
|
||||||
|
|
||||||
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 -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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: fox32asm
|
name: fox32asm
|
||||||
path: target/release/fox32asm
|
path: fox32asm
|
||||||
|
|
Loading…
Reference in New Issue
Block a user