-
Notifications
You must be signed in to change notification settings - Fork 55
46 lines (39 loc) · 1.11 KB
/
native-image-test.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
name: Native Image Tests
on:
# allow this workflow to be called from other workflows, namely: publish
workflow_call:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ windows, ubuntu, macos ]
java-version: [ '23' ]
test: [ native, native-sci ]
clojure-version: [ '1.12' ]
name: ${{ matrix.os }},jdk${{ matrix.java-version }},${{ matrix.test }},clj${{ matrix.clojure-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/workflows/shared-setup
with:
jdk: skip
- name: Install GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.java-version }}
distribution: 'graalvm-community'
github-token: ${{ secrets.GITHUB_TOKEN }}
#
# native image tests
#
- name: Execute test-${{ matrix.test }}
run: bb test-${{ matrix.test }} --clojure-version ${{ matrix.clojure-version }}