Skip to content

Fix release build: require ASDF in Makefile, fail-fast #402

Fix release build: require ASDF in Makefile, fail-fast

Fix release build: require ASDF in Makefile, fail-fast #402

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Full history for git describe
- name: Install system dependencies
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install sbcl ocicl dejagnu
ocicl setup >> ~/.sbclrc
patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 \
--set-rpath /lib64 \
/home/linuxbrew/.linuxbrew/Cellar/sbcl/*/libexec/bin/sbcl
- name: Get version info
id: version
run: |
git fetch --prune --tags
VERSION=$(git describe --tags --dirty=+)
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Version: $VERSION"
- name: Install project dependencies
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
ocicl install
- name: Build binary
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
make rlgl
- name: Run tests
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
make check