Merge branch 'develop' into feature-2532/graal #20
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: Gradle Build - Native - Feature / Bug | |
on: | |
push: | |
branches: | |
- 'feature-**/*' | |
- 'bugfix-**/*' | |
- 'chore-**/*' | |
- 'doc-**/*' | |
- 'hotfix-**/*' | |
- 'dependabot/**/*' | |
env: | |
PROJECT_ID: ${{ secrets.RUN_PROJECT }} | |
SERVICE_NAME: checkins-pullrequest | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Set up GraalVM 21 | |
uses: graalvm/[email protected] | |
with: | |
distribution: 'graalvm' | |
java-version: '21' | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b | |
- name: Build native image | |
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021 | |
with: | |
arguments: nativeCompile | |
- name: Gradle runs tests | |
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021 | |
with: | |
arguments: nativeTest | |
- name: Build a native docker image | |
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021 | |
with: | |
arguments: dockerBuildNative |