feat: test building native clojure app using library, test with graalvm #12
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: Mise-en-place setup | |
uses: jdx/mise-action@v2 | |
with: | |
install: true | |
cache: true | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
# see: https://github.com/marketplace/actions/setup-clojure | |
cli: 1.11.1.1429 | |
- name: Run tests | |
run: make test | |
- name: Run clj-kondo linter | |
run: make lint | |
- name: Run build jar | |
run: make build | |
- name: Run build app | |
run: | | |
gu install native-image | |
make build-native |