ARCHITECTURE.org: Add to the repository #310
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GNU Guile 3.0 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt --force-yes -qy install guile-3.0 guile-3.0-libs guile-3.0-dev guile-library texinfo gettext make automake autoconf help2man texlive | |
- 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/3.0 --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 | |
- name: Distcheck | |
run: make -j$(nproc) distcheck | |
- name: Upload the artifact | |
id: upload-artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: guile-png | |
compression-level: 0 | |
path: "guile-png-*.tar.gz" |