try arm64 linux build #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: osx | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.target == 'arm64' && 'macos-14' || 'macOS-12' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
lisp: [sbcl-bin/2.4.0] | |
target: [arm64, x86-64] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
env: | |
LISP: ${{ matrix.lisp }} | |
CFLAGS: -mmacosx-version-min=10.9 | |
CXXFLAGS: -mmacosx-version-min=10.9 | |
LDFLAGS: -mmacosx-version-min=10.9 | |
run: | | |
brew install automake autoconf | |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh | |
make roswell-sbcl; mv roswell-sbcl sbcl | |
make all archive | |
- name: upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.target == 'arm64' && 'roswell-osx-arm64' || 'roswell-osx' }} | |
path: ./*.tbz | |
build-arm64-linux: | |
runs-on: macos-14 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
run: | | |
make linux-build archive | |
- name: upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: roswell-linux-arm64 | |
path: ./*.tbz |