forked from oracle-samples/clara-rules
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (39 loc) · 973 Bytes
/
clojure.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
name: Clojure CI
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Tools setup
uses: jdx/mise-action@v2
with:
install: true
cache: true
- name: Tools config
run: |
echo "JAVA_HOME=$(mise where java)" >> $GITHUB_ENV
echo "GRAALVM_HOME=$(mise where java)" >> $GITHUB_ENV
echo "$(mise where java)/bin" >> $GITHUB_PATH
gu install native-image
- name: Run tests
run: make test
- name: Run coverage tests
run: make test-coverage
- name: Run generative tests
run: make test-generative
- name: Run clj-kondo linter
run: make lint
- name: Run build jar
run: make build
- name: Run build app
run: |
make build-native
build/clara-test-app this is a test invocation of native app