-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (42 loc) · 1.42 KB
/
guile2.2.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
name: GNU Guile 2.2
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install guile-2.2 guile-2.2-libs guile-library
sudo apt install guile-2.2-dev texinfo gettext
sudo apt install automake autoconf help2man
- name: Install Guile-ZLIB
run: |
wget -O guile-zlib.tar.gz https://archive.softwareheritage.org/api/1/vault/flat/swh:1:dir:c8686f5aaddec4650ceefa62b31df6e9eb40e085/raw/
tar -zxf guile-zlib.tar.gz
cd 'swh:1:dir:c8686f5aaddec4650ceefa62b31df6e9eb40e085'
autoreconf -vif
./configure --with-guilesitedir=/usr/share/guile/site/2.2 --prefix=/usr
sudo make -j$(nproc) install
- name: Install Guile-SMC
run: |
git clone https://github.com/artyom-poptsov/guile-smc
cd guile-smc
git checkout master
autoreconf -vif
./configure --with-guilesitedir=/usr/share/guile/site/2.2 --prefix=/usr
sudo make -j$(nproc) install
- name: Checkout repository
uses: actions/checkout@v2
- name: Autoreconf
run: autoreconf -vif
- name: Configure
run: ./configure
- name: Build
run: make -j$(nproc)
- name: Test
run: make -j$(nproc) check