Files
nostalgia/.gitea/workflows/build.yaml
T
gary 19c5a3c279
Build / build-linux (push) Successful in 1m10s
Build / build-mac (push) Failing after 40s
[nostalgia] Add Mac build job
2026-05-31 21:22:16 -05:00

48 lines
1.4 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 install
- run: mv dist/mac-arm64-release nostalgia-mac-arm64
- run: tar cf nostalgia-mac-arm64.tar nostalgia-mac-arm64
- uses: actions/upload-artifact@v3
with:
name: nostalgia-mac-arm64
path: nostalgia-mac-arm64.tar