forked from fricas/fricas
-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (28 loc) · 911 Bytes
/
linux-gcl.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
name: FriCAS CI on Linux on GCL
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 40
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install gcl libxpm-dev libreadline-dev
- name: configure and make
run: |
export GCL_ANSI=t
./configure --with-lisp=gcl --with-x || cat config.log
make -j4 --output-sync
- name: make check
run: make check -j4 --output-sync
- name: Create artifact archives
run: |
test "$GITHUB_REF_TYPE" != "tag" && rm -r target/*/src
tar -cjf FriCAS-linux-GCL-x86_64-${{ github.sha }}.tar.bz2 target/
- name: Upload Linux binary
uses: actions/upload-artifact@v4
with:
name: FriCAS-linux-GCL-x86_64-binary
path: FriCAS-linux-GCL-x86_64-${{ github.sha }}.tar.bz2