From 566da196a722d187dd59898054b331d25eb64946 Mon Sep 17 00:00:00 2001 From: Jonathan de Jong Date: Wed, 29 May 2024 20:45:22 +0200 Subject: [PATCH] Add windows for testing --- .github/workflows/build.yml | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69cd5ac2ef..0c94c1c2f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,29 +28,29 @@ jobs: fail-fast: false matrix: os: [ - # Use v24 beta for now to get newer SWIG; TODO: change back to ubuntu-latest once it points to v24 - ubuntu-24.04, - # latest available X86_64 target - macos-12, - # latest is ARM - macos-latest, - ] + # Use v24 beta for now to get newer SWIG; TODO: change back to ubuntu-latest once it points to v24 + ubuntu-24.04, + # latest available X86_64 target + macos-12, + # latest is ARM + macos-latest, + ] steps: - name: Checkout uses: actions/checkout@v1 - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.12' + python-version: "3.12" - name: Setup Java uses: actions/setup-java@v3 with: - distribution: 'temurin' - java-version: '11' + distribution: "temurin" + java-version: "11" - name: Setup dotnet uses: actions/setup-dotnet@v3 with: - dotnet-version: '6.0.X' + dotnet-version: "6.0.X" - name: Setup tcl (ubuntu) if: startsWith(matrix.os, 'ubuntu-') @@ -67,7 +67,7 @@ jobs: - name: build env: # instructs SCons to print debug statements to stdout - SCONS_MSCOMMON_DEBUG: '-' + SCONS_MSCOMMON_DEBUG: "-" # Build Python bindings that are portable across Python versions SOAR_PYTHON_ABI3: 1 run: python3 scons/scons.py --scu --opt --verbose all performance_tests sml_tcl @@ -110,7 +110,7 @@ jobs: # always run even if the previous step fails if: always() with: - report_paths: './out/TestResults.xml' + report_paths: "./out/TestResults.xml" # disabled until https://github.com/mikepenz/action-junit-report/issues/40 is resolved # fail_on_failure: true annotate_only: true @@ -141,12 +141,12 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.12' + python-version: "3.12" - name: Setup Java uses: actions/setup-java@v3 with: - distribution: 'temurin' - java-version: '11' + distribution: "temurin" + java-version: "11" # This does not install MSVC or Visual Studio! We rely on the software installed already on the # GH action runner, and this step just prepares the environment. We pin the VS version here because @@ -188,7 +188,7 @@ jobs: - name: build env: # instructs SCons to print debug statements to stdout - SCONS_MSCOMMON_DEBUG: '-' + SCONS_MSCOMMON_DEBUG: "-" run: | ./build.bat --scu --opt --verbose --tcl="$env:TCL_HOME" all performance_tests sml_tcl if ($lastexitcode -ne 0) { @@ -249,7 +249,7 @@ jobs: # always run even if the previous step fails if: always() with: - report_paths: './out/TestResults.xml' + report_paths: "./out/TestResults.xml" # disabled until https://github.com/mikepenz/action-junit-report/issues/40 is resolved # fail_on_failure: true annotate_only: true @@ -367,6 +367,7 @@ jobs: - macos-12 # latest is ARM - macos-latest + - windows-latest python-minor: - 5 - 6