-
Notifications
You must be signed in to change notification settings - Fork 0
75 lines (71 loc) · 1.8 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: windows
on:
schedule:
- cron: '0 1 * * *'
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-latest
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
arch: [x86_64, i686]
include:
- arch: x86_64
arch2: amd64
bit: 64
target: x86-64
- arch: i686
arch2: i686
bit: 32
target: x86
env:
LISP: sbcl-bin
RESULT_NAME: windows-${{ matrix.arch2 }}
RESULT_PATH: windows-${{ matrix.arch2 }}
RESULT_PATH_SUB: roswell
SBCL_OPTIONS:
ARCH: ${{ matrix.target }}
VERSION: ${{ secrets.VERSION }}
GITHUB_OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
environment: SET_VERSION
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v3
- uses: msys2/[email protected]
with:
msystem: MINGW${{ matrix.bit }}
path-type: inherit
release: true
update: true
install: 'base-devel mingw-w64-${{ matrix.arch }}-toolchain curl unzip'
- name: Run MSYS2 once
shell: msys2 {0}
run: |
pwd
echo $MSYSTEM
echo $MSYS2_PATH_TYPE
echo $PATH
- name: install roswell
shell: msys2 {0}
run: |
gcc -v
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
ros install snmsts/sn.github
- name: build sbcl
shell: msys2 {0}
run: |
if [ "$VERSION" = "" ]; then
make latest-version compile archive;
else
make compile archive;
fi
- name: upload
shell: msys2 {0}
run: |
if [ "$VERSION" = "" ]; then
make latest-version upload-archive;
else
make upload-archive;
fi