Files
radiantwave-legacy/.forgejo/workflows/build-dev.yml
T
2026-06-25 14:18:20 -05:00

39 lines
1.2 KiB
YAML

# This action builds the `dev` branch any time a Pull Request is submitted to dev.
# The purpose of this is two fold:
# - Prevent breaking changes from being merged to dev
# - Automates the building of RadiantWave-Dev which can then be uploaded
# to the Attic server, and the development machines can pull prebuilt
# binaries instead of building everything from source, resulting in faster
# updates, once updates work again that is...
on:
push:
branches:
- dev
jobs:
build:
runs-on: neils-server-runner
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Build
run: |
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
nix build -L
echo "Working dir: $(pwd)"
echo "Result symlink: $(readlink -f result)"
find result/ -type f
# - name: Build
# run: |
# . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
# nix build
# cp -rL result /home/nclack/builds/RadiantWave-$(date +%Y%m%d-%H%M%S)
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: RadiantWave
path: result/bin/RadiantWave