Skip to content

Commit

Permalink
ci: Bump GraalVM (#2465)
Browse files Browse the repository at this point in the history
  • Loading branch information
slavek-kucera authored Sep 10, 2024
1 parent 295158b commit 3c6685e
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
version: '22.3.0'
java-version: '11'
java-version: '17'
components: 'native-image'
distribution: 'graalvm-community'
github-token: ${{ secrets.GITHUB_TOKEN }}
## uncomment me if you need native image job reports
# native-image-job-reports: 'true'
Expand All @@ -84,14 +84,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
- uses: actions/setup-java@v4
with:
version: '22.3.0'
distribution: 'temurin'
java-version: '11'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
## uncomment me if you need native image job reports
# native-image-job-reports: 'true'
cache: 'maven'
- name: Build Server and Dialects Jars
working-directory: server
Expand Down Expand Up @@ -223,9 +219,9 @@ jobs:
- uses: graalvm/setup-graalvm@v1
if: matrix.os == 'ubuntu-latest' && matrix.arch == 'x64'
with:
version: '22.3.0'
java-version: '11'
java-version: '17'
components: 'native-image'
distribution: 'graalvm-community'
native-image-musl: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
## uncomment me if you need native image job reports
Expand All @@ -234,9 +230,9 @@ jobs:
- uses: graalvm/setup-graalvm@v1
if: matrix.os != 'ubuntu-latest' || matrix.arch != 'x64'
with:
version: '22.3.0'
java-version: '11'
java-version: '17'
components: 'native-image'
distribution: 'graalvm-community'
github-token: ${{ secrets.GITHUB_TOKEN }}
## uncomment me if you need native image job reports
# native-image-job-reports: 'true'
Expand Down Expand Up @@ -332,9 +328,7 @@ jobs:
working-directory: clients/cobol-lsp-vscode-extension
if: startsWith( matrix.os, 'windows')
run: |
cp ../../staging/${{ env.target }}/engine.build_artifacts.txt ./server/native
cp ../../staging/${{ env.target }}/engine.exe ./server/native
cp ../../staging/${{ env.target }}/sunmscapi.dll ./server/native
cp ./server/native/* ../../tests/native-executable-tests/server/windows/
- name: Deploy macos executable
working-directory: clients/cobol-lsp-vscode-extension
Expand Down

0 comments on commit 3c6685e

Please sign in to comment.