Skip to content

Commit

Permalink
Relax time limits for nightly builds involving test with GraalVM Trac…
Browse files Browse the repository at this point in the history
…ing Agent
  • Loading branch information
linghengqian committed Aug 12, 2023
1 parent 6fed708 commit d99a26c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
build-proxy-native-image:
if: github.repository == 'apache/shardingsphere'
name: Build GraalVM Native Image
timeout-minutes: 60
timeout-minutes: 90
permissions:
contents: read
packages: write
Expand All @@ -121,9 +121,14 @@ jobs:
with:
java-version: '17.0.8'
distribution: 'graalvm-community'
components: 'espresso,native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
- uses: docker/login-action@v2
with:
registry: ${{ env.HUB }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ services:

## 前提条件

1. 根据 https://www.graalvm.org/downloads/ 要求安装和配置 JDK 17 对应的 `GraalVM Community Edition` 或 `Oracle GraalVM`。或者使用 `SDKMAN!`。
1. 根据 https://www.graalvm.org/downloads/ 要求安装和配置 JDK 17 对应的 `GraalVM Community Edition` 或 `Oracle GraalVM`
。或者使用 `SDKMAN!`
。如果你希望使用携带了 [GraalVM Free Terms and Conditions license](https://www.oracle.com/downloads/licenses/graal-free-license.html)
的 `Oracle GraalVM`,下面的命令应更改为 `sdk install java 17.0.8-graal`。

```shell
sdk install java 17.0.8-graalce
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ services:

## Premise

1. Install and configure `GraalVM Community Edition` or `Oracle GraalVM` for JDK 17 according to https://www.graalvm.org/downloads/. Or use `SDKMAN!`.
1. Install and configure `GraalVM Community Edition` or `Oracle GraalVM` for JDK 17 according
to https://www.graalvm.org/downloads/. Or use `SDKMAN!`. If you wish to use `Oracle GraalVM`
with [GraalVM Free Terms and Conditions license](https://www.oracle.com/downloads/licenses/graal-free-license.html),
the following command should be changed to `sdk install java 17.0.8-graal`。

```shell
sdk install java 17.0.8-graalce
Expand Down

0 comments on commit d99a26c

Please sign in to comment.