2022-06-22 01:12:07 +02:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2024-02-03 12:47:20 +01:00
|
|
|
- github-actions
|
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:
|
2023-01-29 23:13:07 +01:00
|
|
|
- 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
|
|
|
|
2024-02-03 15:35:19 +01: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
|
2024-02-03 15:35:19 +01:00
|
|
|
path: fox32asm
|