-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Moved Oracle GraalVM checks to a new nightly checks workflow. (#…
…9580) This PR introduces [a new workflow — nightly checks](https://github.com/enso-org/enso/actions/workflows/nightly-tests.yml). It consists of the whole array of Backend checks: * build check, Scala tests and Standard Library tests; * covers both Community and Oracle (Enterprise) GraalVM editions (Linux-only); * includes checks for Aarch64 macOS runner. We do not want to run these checks on each PR due to limited runners capacity. By running them nightly, we can still catch any issues that might arise on `develop` branch. # Important Notes * [ ] Before merging, this requires updating the GH required checks list.
- Loading branch information
Showing
9 changed files
with
1,913 additions
and
244 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,8 +179,8 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
env: | ||
GRAAL_EDITION: GraalVM CE | ||
enso-build-ci-gen-job-ci-check-backend-oracle-graal-vm-linux-x86_64: | ||
name: Engine (Oracle GraalVM) (linux, x86_64) | ||
enso-build-ci-gen-job-jvm-tests-graal-vm-ce-linux-x86_64: | ||
name: JVM Tests (GraalVM CE) (linux, x86_64) | ||
runs-on: | ||
- self-hosted | ||
- Linux | ||
|
@@ -214,58 +214,7 @@ jobs: | |
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: ./run backend ci-check | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: failure() && runner.os == 'Windows' | ||
name: List files if failed (Windows) | ||
run: Get-ChildItem -Force -Recurse | ||
- if: failure() && runner.os != 'Windows' | ||
name: List files if failed (non-Windows) | ||
run: ls -lAR | ||
- if: "(always()) && (contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || inputs.clean_build_required)" | ||
name: Clean after | ||
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
env: | ||
GRAAL_EDITION: Oracle GraalVM | ||
enso-build-ci-gen-job-scala-tests-graal-vm-ce-linux-x86_64: | ||
name: Scala Tests (GraalVM CE) (linux, x86_64) | ||
runs-on: | ||
- self-hosted | ||
- Linux | ||
steps: | ||
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent') | ||
name: Setup conda (GH runners only) | ||
uses: s-weigand/[email protected] | ||
with: | ||
update-conda: false | ||
conda-channels: anaconda, conda-forge | ||
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent') | ||
name: Installing wasm-pack | ||
uses: jetli/[email protected] | ||
with: | ||
version: v0.10.2 | ||
- name: Expose Artifact API and context information. | ||
uses: actions/github-script@v7 | ||
with: | ||
script: "\n core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\n core.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\n core.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])\n console.log(context)\n " | ||
- name: Checking out the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
clean: false | ||
submodules: recursive | ||
- name: Build Script Setup | ||
run: ./run --help || (git clean -ffdx && ./run --help) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: "(contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || inputs.clean_build_required)" | ||
name: Clean before | ||
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: ./run backend test scala | ||
- run: ./run backend test jvm | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: success() || failure() | ||
|
@@ -292,8 +241,8 @@ jobs: | |
GRAAL_EDITION: GraalVM CE | ||
permissions: | ||
checks: write | ||
enso-build-ci-gen-job-scala-tests-graal-vm-ce-macos-x86_64: | ||
name: Scala Tests (GraalVM CE) (macos, x86_64) | ||
enso-build-ci-gen-job-jvm-tests-graal-vm-ce-macos-x86_64: | ||
name: JVM Tests (GraalVM CE) (macos, x86_64) | ||
runs-on: | ||
- macos-latest | ||
steps: | ||
|
@@ -326,7 +275,7 @@ jobs: | |
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: ./run backend test scala | ||
- run: ./run backend test jvm | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: success() || failure() | ||
|
@@ -353,8 +302,8 @@ jobs: | |
GRAAL_EDITION: GraalVM CE | ||
permissions: | ||
checks: write | ||
enso-build-ci-gen-job-scala-tests-graal-vm-ce-windows-x86_64: | ||
name: Scala Tests (GraalVM CE) (windows, x86_64) | ||
enso-build-ci-gen-job-jvm-tests-graal-vm-ce-windows-x86_64: | ||
name: JVM Tests (GraalVM CE) (windows, x86_64) | ||
runs-on: | ||
- self-hosted | ||
- Windows | ||
|
@@ -388,7 +337,7 @@ jobs: | |
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: ./run backend test scala | ||
- run: ./run backend test jvm | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: success() || failure() | ||
|
@@ -415,68 +364,6 @@ jobs: | |
GRAAL_EDITION: GraalVM CE | ||
permissions: | ||
checks: write | ||
enso-build-ci-gen-job-scala-tests-oracle-graal-vm-linux-x86_64: | ||
name: Scala Tests (Oracle GraalVM) (linux, x86_64) | ||
runs-on: | ||
- self-hosted | ||
- Linux | ||
steps: | ||
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent') | ||
name: Setup conda (GH runners only) | ||
uses: s-weigand/[email protected] | ||
with: | ||
update-conda: false | ||
conda-channels: anaconda, conda-forge | ||
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent') | ||
name: Installing wasm-pack | ||
uses: jetli/[email protected] | ||
with: | ||
version: v0.10.2 | ||
- name: Expose Artifact API and context information. | ||
uses: actions/github-script@v7 | ||
with: | ||
script: "\n core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\n core.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\n core.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])\n console.log(context)\n " | ||
- name: Checking out the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
clean: false | ||
submodules: recursive | ||
- name: Build Script Setup | ||
run: ./run --help || (git clean -ffdx && ./run --help) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: "(contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || inputs.clean_build_required)" | ||
name: Clean before | ||
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: ./run backend test scala | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: success() || failure() | ||
name: Engine Test Reporter | ||
uses: dorny/test-reporter@v1 | ||
with: | ||
max-annotations: 50 | ||
name: Engine Tests Report (Oracle GraalVM, linux, x86_64) | ||
path: ${{ env.ENSO_TEST_JUNIT_DIR }}/*.xml | ||
path-replace-backslashes: true | ||
reporter: java-junit | ||
- if: failure() && runner.os == 'Windows' | ||
name: List files if failed (Windows) | ||
run: Get-ChildItem -Force -Recurse | ||
- if: failure() && runner.os != 'Windows' | ||
name: List files if failed (non-Windows) | ||
run: ls -lAR | ||
- if: "(always()) && (contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || inputs.clean_build_required)" | ||
name: Clean after | ||
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
env: | ||
GRAAL_EDITION: Oracle GraalVM | ||
permissions: | ||
checks: write | ||
enso-build-ci-gen-job-standard-library-tests-graal-vm-ce-linux-x86_64: | ||
name: Standard Library Tests (GraalVM CE) (linux, x86_64) | ||
runs-on: | ||
|
@@ -671,71 +558,6 @@ jobs: | |
GRAAL_EDITION: GraalVM CE | ||
permissions: | ||
checks: write | ||
enso-build-ci-gen-job-standard-library-tests-oracle-graal-vm-linux-x86_64: | ||
name: Standard Library Tests (Oracle GraalVM) (linux, x86_64) | ||
runs-on: | ||
- self-hosted | ||
- Linux | ||
steps: | ||
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent') | ||
name: Setup conda (GH runners only) | ||
uses: s-weigand/[email protected] | ||
with: | ||
update-conda: false | ||
conda-channels: anaconda, conda-forge | ||
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent') | ||
name: Installing wasm-pack | ||
uses: jetli/[email protected] | ||
with: | ||
version: v0.10.2 | ||
- name: Expose Artifact API and context information. | ||
uses: actions/github-script@v7 | ||
with: | ||
script: "\n core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\n core.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\n core.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])\n console.log(context)\n " | ||
- name: Checking out the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
clean: false | ||
submodules: recursive | ||
- name: Build Script Setup | ||
run: ./run --help || (git clean -ffdx && ./run --help) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: "(contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || inputs.clean_build_required)" | ||
name: Clean before | ||
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: ./run backend test standard-library | ||
env: | ||
ENSO_LIB_S3_AWS_ACCESS_KEY_ID: ${{ secrets.ENSO_LIB_S3_AWS_ACCESS_KEY_ID }} | ||
ENSO_LIB_S3_AWS_REGION: ${{ secrets.ENSO_LIB_S3_AWS_REGION }} | ||
ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY: ${{ secrets.ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- if: success() || failure() | ||
name: Standard Library Test Reporter | ||
uses: dorny/test-reporter@v1 | ||
with: | ||
max-annotations: 50 | ||
name: Standard Library Tests Report (Oracle GraalVM, linux, x86_64) | ||
path: ${{ env.ENSO_TEST_JUNIT_DIR }}/*/*.xml | ||
path-replace-backslashes: true | ||
reporter: java-junit | ||
- if: failure() && runner.os == 'Windows' | ||
name: List files if failed (Windows) | ||
run: Get-ChildItem -Force -Recurse | ||
- if: failure() && runner.os != 'Windows' | ||
name: List files if failed (non-Windows) | ||
run: ls -lAR | ||
- if: "(always()) && (contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || inputs.clean_build_required)" | ||
name: Clean after | ||
run: ./run git-clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
env: | ||
GRAAL_EDITION: Oracle GraalVM | ||
permissions: | ||
checks: write | ||
enso-build-ci-gen-job-verify-license-packages-linux-x86_64: | ||
name: Verify License Packages (linux, x86_64) | ||
runs-on: | ||
|
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
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
Oops, something went wrong.