Skip to content

Commit

Permalink
Add windows for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowJonathan committed May 29, 2024
1 parent 0c644c3 commit 566da19
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-')
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -367,6 +367,7 @@ jobs:
- macos-12
# latest is ARM
- macos-latest
- windows-latest
python-minor:
- 5
- 6
Expand Down

0 comments on commit 566da19

Please sign in to comment.