Repository navigation
Only use architecture of first CPU in Windows #637
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: Build | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.config.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - {os: ubuntu-latest, java: 11, params: "'-PtestedGradleVersion=6.9.4|7.6.3' pnpmTests" } | |
| - {os: ubuntu-latest, java: 11, params: "'-PtestedGradleVersion=6.9.4|7.6.3' build" } | |
| - {os: ubuntu-latest, java: 17, params: "'-PtestedGradleVersion=8.10.2' build pnpmTests"} | |
| - {os: windows-latest, java: 11, params: "build pnpmTests" } | |
| - {os: macos-latest, java: 11, params: "build pnpmTests" } | |
| steps: | |
| - name: Checkout Source Code | |
| uses: actions/checkout@v4 | |
| - name: Install Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.config.java }} | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4.4.1 | |
| with: | |
| develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
| cache-read-only: ${{ github.event_name == 'pull_request' }} | |
| - name: Build | |
| run: ./gradlew "-Pcom.github.gradle.node.predictivetestselection=${{ github.event_name == 'pull_request' }}" ${{ matrix.config.params }} |