-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (50 loc) · 1.66 KB
/
freebsd.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
name: freebsd
on:
schedule:
- cron: '0 1 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: macos-12
env:
VERSION: ${{ secrets.VERSION }}
ARCH: ${{ matrix.target }}
SUFFIX: ${{ matrix.suffix }}
LINKFLAGS: ${{ matrix.linkflags }}
ROSWELL_BRANCH: master
GH_USER: roswell
GH_REPO: sbcl_bin
GITHUB_OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
include:
- lisp: sbcl-bin/2.0.0
target: x86-64
- lisp: sbcl-bin/2.0.0
target: x86
environment: SET_VERSION
steps:
- uses: actions/checkout@v2
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v0
with:
release: 12.3
envs: 'VERSION ARCH IMAGE SUFFIX LINKFLAGS GH_USER GH_REPO GITHUB_OAUTH_TOKEN'
usesh: true
prepare: |
pkg install -y bash roswell autoconf texinfo perl5 gmake gcc libffi git
bash -c "cd /tmp; git clone https://github.com/facebook/zstd"
bash -c "cd /tmp/zstd/lib; git checkout v1.5.2"
bash -c "cd /tmp/zstd/lib; gmake PREFIX=/usr install-includes install-static clean"
bash -c "cd /tmp/zstd/lib; gmake PREFIX=/usr LIBDIR=/usr/lib32 CFLAGS=-m32 install-static clean"
ros install ${{ matrix.lisp }}
ros install snmsts/sn.github
run: |
if [ "$VERSION" = "" ]; then
gmake latest-version compile archive upload-archive;
else
gmake compile archive upload-archive;
fi