fox32asm/.github/workflows/fox32asm-unstable-linux.yml

31 lines
662 B
YAML
Raw Normal View History

2022-06-22 01:12:07 +02:00
on:
workflow_dispatch:
push:
branches:
2024-02-22 20:23:15 +01:00
- '*'
2022-06-22 01:12:07 +02:00
name: fox32asm Unstable - Linux
jobs:
2024-02-03 12:56:27 +01:00
fox32asm-nix:
2022-06-22 01:12:07 +02:00
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2024-02-03 12:56:27 +01:00
- uses: cachix/install-nix-action@v22
2022-06-22 01:12:07 +02:00
with:
2024-02-03 12:56:27 +01:00
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2022-06-22 01:12:07 +02:00
- name: Build
2024-02-03 12:58:58 +01:00
run: nix build -L .#fox32asm
2022-06-22 01:12:07 +02:00
- name: Patch
run: nix run nixpkgs#patchelf -- result/bin/fox32asm --set-interpreter /lib64/ld-linux-x86-64.so.2 --output fox32asm
2024-02-03 12:58:58 +01:00
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: fox32asm
path: fox32asm