Skip to content

WIP: Fix build-binaries workflow #9

WIP: Fix build-binaries workflow

WIP: Fix build-binaries workflow #9

Workflow file for this run

name: build binaries
# on: workflow_dispatch
on: push
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-13 # amd64 (x86_64)
- macos-14 # aarch64 (arm64)
- ubuntu-24.04 # amd64 (x86_64)
- ubuntu-24.04-arm # aarch64 (arm64)
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm-community'
version: '22.3.0'
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@13.1
with:
cli: '1.12.0.1501'
- name: Test
run: clojure -X:test
- name: Build
run: clojure -T:build native-image
- name: Get version
id: get-version
run: echo "version=$(./bosslint --version)" >> "$GITHUB_OUTPUT"
# - name: Upload
# uses: actions/upload-artifact@v4
# with:
# name: bosslint-${{ steps.get-version.outputs.version }}-${{ matrix.os }}
# path: bosslint*
- name: test
run: |
echo v${{ steps.get-version.outputs.version }}