88 strategy :
99 fail-fast : false
1010 matrix :
11- os : [macos-latest, ubuntu-latest, windows-latest ]
11+ os : [macos-latest, ubuntu-latest]
1212
1313 steps :
1414 - uses : actions/checkout@v4
@@ -17,21 +17,44 @@ jobs:
1717
1818 - name : bazel clean
1919 run : bazel clean
20-
20+
2121 - name : build bazel
2222 run : bazel build //...
23-
23+
2424 - name : test all
2525 run : bazel test --test_output=all //...
2626
27- - name : test example win
28- if : runner.os == 'Windows'
29- run : ./bazel-bin/call-highs-example.exe
30-
31- - name : test example linux and macos
32- if : runner.os != 'Windows'
27+ - name : test example
3328 run : ./bazel-bin/call-highs-example
3429
30+ - name : Upload bazel-testlogs
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : bazel-testlogs
34+ path : bazel-testlogs/
35+
36+ bazel-win :
37+ runs-on : windows-latest
38+
39+ steps :
40+ - name : Checkout repository
41+ uses : actions/checkout@v4
42+
43+ # Bazelisk is available via Chocolatey (on Windows)
44+ - name : Install Bazelisk
45+ run : |
46+ choco install bazelisk --yes
47+ bazelisk version
48+
49+ - name : Build with Bazelisk
50+ run : bazelisk build //...
51+
52+ - name : Run tests with Bazelisk
53+ run : bazelisk test --test_output=all //...
54+
55+ - name : test example
56+ run : ./bazel-bin/call-highs-example.exe
57+
3558 - name : Upload bazel-testlogs
3659 uses : actions/upload-artifact@v4
3760 with :
0 commit comments