From 19c5a3c27912d4fc45252776639db2d2a68bdc27 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 31 May 2026 21:21:38 -0500 Subject: [PATCH] [nostalgia] Add Mac build job --- .gitea/workflows/build.yaml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 87dcb947..093d98d3 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,7 +3,7 @@ run-name: ${{ gitea.actor }} build and test on: [push] jobs: - build: + build-linux: runs-on: olympic steps: - name: Check out repository code @@ -24,3 +24,24 @@ jobs: 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