-
Notifications
You must be signed in to change notification settings - Fork 6
52 lines (45 loc) · 1.12 KB
/
windows.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
48
49
50
name: Windows
# only build on push of tags
on:
push:
tags:
- '*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: msys2/setup-msys2@v2
with:
install: make mingw-w64-x86_64-gcc
- name: install host sbcl
shell: pwsh
run: |
choco install sbcl
- name: configure
shell: msys2 {0}
run: |
PATH=$PATH:"/c/program files/steel bank common lisp"
export PATH
./configure --with-lisp=sbcl --with-sbcl=sbcl.exe --enable-windows --enable-distribution
- name: build
shell: pwsh
run: |
make
ls || true
pwd || true
#- name: save binary
# uses: actions/upload-artifact@v4
# with:
# name: cafeobj-sbcl-win64
# path: cafeobj-*-sbcl-win64.zip
- name: check
run: |
ls
ls ${{ github.workspace }}
- name: Release
uses: AButler/[email protected]
with:
files: ${{ github.workspace }}/cafeobj-*-sbcl-win64.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}