feat: test building native clojure app using library, test with graalvm #15
Workflow file for this run
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: 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: Run tests | |
run: make test | |
- name: Run clj-kondo linter | |
run: make lint | |
- name: Run build jar | |
run: make build | |
- name: Native Image setup | |
run: gu install native-image | |
- name: Run build app | |
run: make build-native |