Files
nostalgia/.gitea/workflows/build.yaml
T
gary 937b1345f1
Build / build-linux (push) Successful in 1m11s
Build / build-mac (push) Successful in 2m54s
[nostalgia/gitea] Fix artifact names in Mac build
2026-05-31 22:51:51 -05:00

47 lines
1.3 KiB
YAML

name: Build
run-name: ${{ gitea.actor }} build and test
on: [push]
jobs:
build-linux:
runs-on: olympic
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: make purge configure-debug
- run: make build
- run: make test
- run: make purge configure-asan
- run: make build
- run: make test
- run: make purge configure-release
- run: make build
- run: make test
- run: make install
- run: mv dist/linux-x86_64-release nostalgia-linux-x86_64
- run: tar cf nostalgia-linux-x86_64.tar nostalgia-linux-x86_64
- uses: actions/upload-artifact@v3
with:
name: nostalgia-linux-x86_64
path: nostalgia-linux-x86_64.tar
build-mac:
runs-on: olympic-mac
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: make purge configure-debug
- run: make build
- run: make test
- run: make purge configure-asan
- run: make build
- run: make test
- run: make purge configure-release
- run: make build
- run: make test
- run: make pkg-mac
- run: mv dist/darwin-arm64-release/NostalgiaStudio.dmg NostalgiaStudio.dmg
- uses: actions/upload-artifact@v3
with:
name: NostalgiaStudio.dmg
path: NostalgiaStudio.dmg