forked from fricas/fricas
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (29 loc) · 1.01 KB
/
linux-ccl.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
name: FriCAS CI on Linux on CCL
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install libgmp-dev libxpm-dev
wget https://github.com/Clozure/ccl/releases/download/v1.13/ccl-1.13-linuxx86.tar.gz
tar xvf ccl-1.13-linuxx86.tar.gz
- name: configure
run: ./configure --with-lisp=`pwd`/ccl/lx86cl64 --with-gmp --with-x || cat config.log
- name: make
run: 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-CCL-x86_64-${{ github.sha }}.tar.bz2 target/
- name: Upload Linux binary
uses: actions/upload-artifact@v4
with:
name: FriCAS-linux-CCL-x86_64-binary
path: FriCAS-linux-CCL-x86_64-${{ github.sha }}.tar.bz2