[nostalgia] Add Mac build job
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user