fox32os/.github/workflows/fox32os-unstable.yml

42 lines
996 B
YAML

on:
workflow_dispatch:
push:
branches:
- main
name: fox32os Unstable
jobs:
fox32os-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 fox32os
run: nix build -L .#fox32os -o result-fox32os
- name: Build fox32os-dev
run: nix build -L .#fox32os-dev -o result-fox32os-dev
- name: Upload fox32os.img
uses: actions/upload-artifact@v3
with:
name: fox32os.img
path: result-fox32os/bin/fox32os.img
- name: Upload romdisk.img
uses: actions/upload-artifact@v3
with:
name: romdisk.img
path: result-fox32os/bin/romdisk.img
- name: Upload fox32os.def
uses: actions/upload-artifact@v3
with:
name: fox32os.def
path: result-fox32os-dev/dev/fox32os.def