-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (37 loc) · 984 Bytes
/
linux.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
name: Linux
# only build on push of tags
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: 'repo'
- name: build
uses: addnab/docker-run-action@v3
with:
image: fukamachi/sbcl
options: -v ${{ github.workspace }}:/work
run: |
apt update
apt install -y gcc file
cd /work/repo
./configure --with-lisp=sbcl --enable-distribution
make
ls
pwd
#- name: save artifact
# uses: actions/upload-artifact@v4
# with:
# name: cafeobj-sbcl-x86_64-linux
# path: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Linux.tar.gz
- name: Release
uses: AButler/[email protected]
with:
files: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Linux.tar.gz
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}