-
Notifications
You must be signed in to change notification settings - Fork 16
42 lines (39 loc) · 1.3 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
name: windows
on: [push, pull_request]
jobs:
test:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v1
with:
repository: 'sbcl/sbcl'
ref: 'sbcl-2.2.4'
- uses: msys2/setup-msys2@v2
with:
install: mingw-w64-x86_64-gcc make diffutils git cmake
- name: install host sbcl
shell: pwsh
working-directory: ..\sbcl
run: |
choco install sbcl -source tools-for-build
- name: build sbcl and libsbcl
env:
SBCL_HOME: "/c/Program Files/Steel Bank Common Lisp/1.4.14"
working-directory: ..\sbcl
run: |
PATH=$PATH:"/c/Program Files/Steel Bank Common Lisp/1.4.14"
export PATH
./make.sh --xc-host='sbcl --lose-on-corruption --disable-ldb --disable-debugger'
./make-shared-library.sh
mv src/runtime/libsbcl.so src/runtime/libsbcl.dll
- uses: actions/checkout@v1
- name: build example
working-directory: examples/smart-libraries
run:
mkdir build
../../../sbcl/run-sbcl.sh --dynamic-space-size 8192 --load generate-libbase.lisp
../../../sbcl/run-sbcl.sh --dynamic-space-size 8192 --load generate.lisp