Skip to content

Commit

Permalink
windows workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jul 2, 2024
1 parent f002584 commit 921a507
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/windows-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,20 @@ jobs:
cmake --build _build --config Release -j$(nproc)
- name: Read simtest version
shell: bash
run: |
echo 'simtest<<EOF' >> $GITHUB_ENV
echo 'SIMTEST_JSON<<EOF' >> $GITHUB_ENV
cat ./simtest.json >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Export simtest version
run: |
echo "SIMTEST=${{ fromJson(env.SIMTEST_JSON).version }}" >> $GITHUB_ENV
- name: Run named mps tests
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ fromJson(env.simtest).version }}
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-named-mps
os: ${{ env.test-platform }}
variant: "named-mps"
Expand Down Expand Up @@ -176,23 +179,23 @@ jobs:
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ fromJson(env.simtest).version }}
simtest-tag: ${{ env.SIMTEST }}
batch-name: adequacy-patch-CSR
os: ${{ env.test-platform }}

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

- name: Run MILP with CBC
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ fromJson(env.simtest).version }}
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-milp
variant: "milp-cbc"
os: ${{ env.test-platform }}
Expand All @@ -201,47 +204,47 @@ jobs:
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ fromJson(env.simtest).version }}
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-v860
os: ${{ env.test-platform }}

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

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

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

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

- name: Run parallel tests
if: ${{ env.RUN_EXTENDED_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ fromJson(env.simtest).version }}
simtest-tag: ${{ env.SIMTEST }}
batch-name: valid-parallel
os: ${{ env.test-platform }}
variant: "parallel"
Expand All @@ -250,7 +253,7 @@ jobs:
if: ${{ env.RUN_SIMPLE_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ fromJson(env.simtest).version }}
simtest-tag: ${{ env.SIMTEST }}
batch-name: ts-generator
os: ${{ env.test-platform }}
variant: "tsgenerator"
Expand All @@ -259,31 +262,31 @@ jobs:
if: ${{ env.RUN_EXTENDED_TESTS == 'true' }}
uses: ./.github/workflows/run-tests
with:
simtest-tag: ${{ fromJson(env.simtest).version }}
simtest-tag: ${{ env.SIMTEST }}
batch-name: medium-tests
os: ${{ env.test-platform }}

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

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

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

Expand Down

0 comments on commit 921a507

Please sign in to comment.