specify Xmx1g as min requirement for gradle to build the project #2807
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: Windows | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
env: | |
JAVA_VERSION: ${{ matrix.java_version }} | |
runs-on: windows-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
java_version: [ 11, 17 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up JDK ${{ matrix.java_version }}" | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java_version }} | |
- name: Setup Gradle | |
uses: gradle/[email protected] | |
- name: "build using jdk ${{ matrix.java_version }}" | |
run: ./gradlew build | |
- name: Upload windows build code coverage | |
uses: codecov/[email protected] | |
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }} | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: current_windows | |
env_vars: JAVA_VERSION | |
# too many timeout errors, let's not fail at the moment | |
#fail_ci_if_error: true | |
# TODO 1.5.0 re-activate scala API | |
# - name: composite build atrium-scala2 | |
# run: ./gradlew build | |
# working-directory: misc\tools\atrium-scala2-test | |
- name: composite build atrium-samples-test | |
run: ./gradlew build | |
working-directory: misc\tools\atrium-samples-test | |
# TODO 1.2.0 activate again once we use JS IR | |
# - name: composite build atrium-js-sample-test | |
# run: ./gradlew build | |
# working-directory: misc\tools\atrium-js-sample-test |