diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c00ec91b..d30e7e6a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,13 +44,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-20.04-aarch64, macos-latest, windows-latest] + os: [ubuntu-18.04, ubuntu-20.04-aarch64, macos-11, windows-2019] java: [11, 17] env: - RUN_TESTS: "${{ matrix.os == 'ubuntu-latest' || matrix.java == 11 }}" - RUN_WITH_COVERAGE: "${{ matrix.os == 'ubuntu-latest' && matrix.java == 17 }}" - GRAALVM_HOME_ENV: "${{ matrix.os == 'windows-latest' && 'trufflesqueak-jvm' || 'trufflesqueak-svm' }}" - TRUFFLESQUEAK_EXEC: "${{ matrix.os == 'windows-latest' && 'trufflesqueak.cmd' || 'trufflesqueak' }}" + RUN_TESTS: "${{ matrix.os == 'ubuntu-18.04' || matrix.java == 11 }}" + RUN_WITH_COVERAGE: "${{ matrix.os == 'ubuntu-18.04' && matrix.java == 17 }}" + GRAALVM_HOME_ENV: "${{ matrix.os == 'windows-2019' && 'trufflesqueak-jvm' || 'trufflesqueak-svm' }}" + TRUFFLESQUEAK_EXEC: "${{ matrix.os == 'windows-2019' && 'trufflesqueak.cmd' || 'trufflesqueak' }}" VERBOSE_GRAALVM_LAUNCHERS: true MX_PYTHON_VERSION: 3 name: ${{ matrix.os }} + JDK${{ matrix.java }} @@ -66,17 +66,17 @@ jobs: run: mx.trufflesqueak/utils.sh set-up-dependencies java${{ matrix.java }} - name: Build TruffleSqueak SVM component run: mx.trufflesqueak/utils.sh build-component trufflesqueak-svm ${{ matrix.java }} ${{ env.INSTALLABLE_SVM_TARGET }} - if: ${{ matrix.os != 'windows-latest' }} + if: ${{ matrix.os != 'windows-2019' }} - name: Configure pagefile # this reduces OOM kills on Windows uses: al-cheb/configure-pagefile-action@v1.2 with: minimum-size: 8GB disk-root: "C:" - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.os == 'windows-2019' }} - name: Build TruffleSqueak SVM component via cmd.exe shell: cmd run: | - call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 call mx --env trufflesqueak-svm --no-download-progress build --dependencies SMALLTALK_INSTALLABLE_SVM_JAVA${{ matrix.java }},GRAALVM_TRUFFLESQUEAK_SVM_JAVA${{ matrix.java }} call mx --env trufflesqueak-svm graalvm-home > graalvm-home-with-forward-slashes.txt set /p GRAALVM_HOME=