2023-01-20 14:09:19 +01:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
name: fox32 tools Unstable - Linux
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
tools-unstable-linux:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2024-02-04 11:30:33 +01:00
|
|
|
- uses: cachix/install-nix-action@v22
|
2023-01-20 14:09:19 +01:00
|
|
|
with:
|
2024-02-04 11:30:33 +01:00
|
|
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
2023-01-20 14:09:19 +01:00
|
|
|
|
|
|
|
- name: Build
|
2024-02-04 11:30:33 +01:00
|
|
|
run: nix build -L .#gfx2inc
|
|
|
|
|
|
|
|
- name: Patch
|
|
|
|
run: nix run nixpkgs#patchelf -- result/bin/gfx2inc --set-interpreter /lib64/ld-linux-x86-64.so.2 --output gfx2inc/gfx2in
|
2023-01-20 14:09:19 +01:00
|
|
|
|
|
|
|
- name: Upload artifact
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: gfx2inc
|
2024-02-04 11:30:33 +01:00
|
|
|
path: gfx2inc/gfx2inc
|