Bump org.graalvm.buildtools.native from 0.10.6 to 0.11.3 #28
Workflow file for this run
This file contains hidden or 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: GraalVM Native Image builds | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: asu on ${{ matrix.os }}-${{ matrix.arch }} | |
| runs-on: ${{ matrix.label }} | |
| strategy: | |
| matrix: | |
| # See: https://docs.github.com/en/actions/concepts/runners/about-github-hosted-runners#overview-of-github-hosted-runners | |
| # ... and follow the links to the related Github repositories | |
| include: | |
| - label: ubuntu-latest | |
| os: linux | |
| arch: x86_64 | |
| - label: ubuntu-24.04-arm | |
| os: linux | |
| arch: aarch64 | |
| - label: windows-latest | |
| os: windows | |
| arch: x86_64 | |
| - label: macos-13 | |
| os: darwin | |
| arch: x86_64 | |
| - label: macos-latest | |
| os: darwin | |
| arch: arm64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: graalvm/setup-graalvm@v1 | |
| with: | |
| java-version: '21' | |
| distribution: 'graalvm-community' | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| native-image-job-reports: 'true' | |
| # Note that Graal v21 builds to the current architecture, and "--target" is not functional. | |
| # Therefore, we try to find runners that fit our targets (see above). | |
| - name: Build 'asu' | |
| run: ./gradlew nativeCompile | |
| env: | |
| # Needed for Windows; not an issue for other OSes | |
| GRADLE_OPTS: -Djava.io.tmpdir=${{ runner.temp }} | |
| - name: Upload binary | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: asu-${{ matrix.os }}-${{ matrix.arch }} | |
| path: tools/asu/build/native/nativeCompile/asu* |