-
Notifications
You must be signed in to change notification settings - Fork 6
50 lines (45 loc) · 1.14 KB
/
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
42
43
44
45
46
47
48
49
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: check
run: |
pwd
echo "==============="
ls
echo "================="
ls ${{ github.workspace }}
echo "================"
- name: Release
uses: AButler/[email protected]
with:
files: ${{ github.workspace }}/cafeobj-*-sbcl-*Linux.tar.gz
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}