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

30 lines
657 B
YAML

on:
workflow_dispatch:
push:
branches:
- main
name: fox32 Unstable - Linux
jobs:
fox32-unstable-linux:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build fox32
run: nix build -L .#fox32
- name: Patch
run: nix run nixpkgs#patchelf -- result/bin/fox32 --set-interpreter /lib64/ld-linux-x86-64.so.2 --output fox32
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: fox32
path: fox32