fixed activation of shaded profile #12
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: Native CI | |
on: push | |
jobs: | |
verify: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
shaded: | |
- 'true' | |
- 'false' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '21.0.2' | |
distribution: 'graalvm-community' | |
cache: 'maven' | |
native-image-job-reports: 'true' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Info | |
run: mvn -version | |
- name: Deps tree | |
run: mvn dependency:tree -Dshaded=${{matrix.shaded}} | |
- name: Start Database | |
run: ./docker/start_db.sh | |
env: | |
SSL: true | |
- name: test | |
run: mvn test | |
- name: package-native | |
run: mvn -Pnative-image -Dshaded=${{matrix.shaded}} package | |
- name: start-native | |
run: ./target/arango-helidon-native-example & | |
- name: wait | |
run: sleep 1 | |
- name: test-version | |
run: curl -v --fail http://localhost:8080/version |