Skip to content

Commit

Permalink
Rename test-platform to os for windows CI (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin authored Jul 10, 2024
1 parent 7be5498 commit 6cd09f5
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/windows-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
# Indicates the location of the vcpkg as a Git submodule of the project repository.
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
ORTOOLS_DIR: ${{ github.workspace }}/or-tools
os: windows-latest
test-platform: windows-2022
os: windows-2022
vcpkgPackages: wxwidgets boost-test
triplet: x64-windows-release
# Caching strategy of VCPKG dependencies
Expand Down Expand Up @@ -97,7 +96,7 @@ jobs:
- name: Download pre-compiled librairies
uses: ./.github/workflows/download-extract-precompiled-libraries-zip
with:
os: ${{env.os}}
os: windows-latest
ortools-url: ${{env.ORTOOLS_URL}}
ortools-dir: ${{env.ORTOOLS_DIR}}

Expand Down Expand Up @@ -155,7 +154,7 @@ jobs:
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-named-mps
os: ${{ env.test-platform }}
os: ${{ env.os }}
variant: "named-mps"

- name: Run unfeasibility-related tests
Expand Down Expand Up @@ -183,15 +182,15 @@ jobs:
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: adequacy-patch-CSR
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run tests about infinity on BCs RHS
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-v830
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run MILP with CBC
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
Expand All @@ -200,31 +199,31 @@ jobs:
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-milp
variant: "milp-cbc"
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run tests introduced in 8.6.0
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-v860
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run tests introduced in 8.7.0
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-v870
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run tests introduced in 9.1.0
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-v910
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run tests introduced in 9.2.0
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
Expand All @@ -240,23 +239,23 @@ jobs:
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: short-tests
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run mps tests
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-mps
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run parallel tests
if: ${{ env.RUN_EXTENDED_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-parallel
os: ${{ env.test-platform }}
os: ${{ env.os }}
variant: "parallel"

- name: Run tests for time series generator tool
Expand All @@ -265,7 +264,7 @@ jobs:
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: ts-generator
os: ${{ env.test-platform }}
os: ${{ env.os }}
variant: "tsgenerator"

- name: Run medium-tests
Expand All @@ -274,31 +273,31 @@ jobs:
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: medium-tests
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run long-tests-1
if: ${{ env.RUN_EXTENDED_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: long-tests-1
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run long-tests-2
if: ${{ env.RUN_EXTENDED_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: long-tests-2
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Run long-tests-3
if: ${{ env.RUN_EXTENDED_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ env.SIMTEST }}
batch-name: long-tests-3
os: ${{ env.test-platform }}
os: ${{ env.os }}

- name: Solver archive creation
shell: bash
Expand Down

0 comments on commit 6cd09f5

Please sign in to comment.