-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (43 loc) · 1.02 KB
/
mac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Mac
# only build on push of tags
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ${{ matrix.arch == 'arm64' && 'macos-14' || 'macOS-13' }}
timeout-minutes: 60
strategy:
matrix:
arch: [arm64, x86-64]
fail-fast: false
steps:
- uses: actions/checkout@v1
- name: install host sbcl
run: brew install sbcl
- name: build
run: |
./configure --with-lisp=sbcl --enable-distribution
make
ls
pwd
#- name: save binary
# uses: actions/upload-artifact@v4
# with:
# name: cafeobj-sbcl-${{ matrix.arch }}-darwin
# path: cafeobj-*-sbcl-*Darwin.tar.gz
- name: check
run: |
ls
echo "======"
pwd
echo "======"
ls ${{ github.workspace }}
echo "======"
- name: Release
uses: AButler/[email protected]
with:
files: cafeobj-*-sbcl-*Darwin.tar.gz
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}