Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tbittar committed Sep 12, 2024
1 parent 5f6b6e1 commit 433fd12
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 41 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- develop
- dependabot/*
- release/*
- poc/presolve-problems
- poc/presolve-save-restore
pull_request:
release:
types: [ created ]
Expand Down Expand Up @@ -169,11 +169,11 @@ jobs:
cmake --build _build --config Release -j$(nproc)
- name: Run cucumber on outer_loop tests
uses: ./.github/workflows/cucumber-tests
with:
feature: "features/outer_loop_tests.feature"
mpi_path: ${GITHUB_WORKSPACE}/_build/vcpkg_installed/x64-linux-release/tools/openmpi/bin
# - name: Run cucumber on outer_loop tests
# uses: ./.github/workflows/cucumber-tests
# with:
# feature: "features/outer_loop_tests.feature"
# mpi_path: ${GITHUB_WORKSPACE}/_build/vcpkg_installed/x64-linux-release/tools/openmpi/bin

- name: Cache vcpkg binary dir
if: always()
Expand Down
70 changes: 35 additions & 35 deletions .github/workflows/build_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,41 +228,41 @@ jobs:
name: user-guide
path: ${{ steps.create-user-guide.outputs.pdf-path }}

test_assets:
runs-on: ubuntu-latest
needs: [ build ]
steps:
- name: Download build assets
uses: actions/download-artifact@v4
with:
name: ${{needs.build.outputs.TGZ_NAME}}
- name: setup
run: |
tar --strip-components=1 -xzf ${{needs.build.outputs.TGZ_NAME}}
sudo apt-get update -y
sudo apt-get install openmpi-bin -y
- name: run launcher
run: |
./antares-xpansion-launcher -i examples/SmallTestFiveCandidates
- name: run launcher parallel
run: |
./antares-xpansion-launcher -i examples/SmallTestFiveCandidates -n 2
test_single_file_asset:
runs-on: ubuntu-latest
needs: [ build ]
steps:
- name: Download build assets
uses: actions/download-artifact@v4
with:
name: ${{needs.build.outputs.SINGLE_FILE_NAME}}
- name: setup
run: |
tar --strip-components=1 -xzf ${{needs.build.outputs.SINGLE_FILE_NAME}}
sudo apt-get update -y
sudo apt-get install openmpi-bin -y
# test_assets:
# runs-on: ubuntu-latest
# needs: [ build ]
# steps:
# - name: Download build assets
# uses: actions/download-artifact@v4
# with:
# name: ${{needs.build.outputs.TGZ_NAME}}
# - name: setup
# run: |
# tar --strip-components=1 -xzf ${{needs.build.outputs.TGZ_NAME}}
# sudo apt-get update -y
# sudo apt-get install openmpi-bin -y

# - name: run launcher
# run: |
# ./antares-xpansion-launcher -i examples/SmallTestFiveCandidates

# - name: run launcher parallel
# run: |
# ./antares-xpansion-launcher -i examples/SmallTestFiveCandidates -n 2

# test_single_file_asset:
# runs-on: ubuntu-latest
# needs: [ build ]
# steps:
# - name: Download build assets
# uses: actions/download-artifact@v4
# with:
# name: ${{needs.build.outputs.SINGLE_FILE_NAME}}
# - name: setup
# run: |
# tar --strip-components=1 -xzf ${{needs.build.outputs.SINGLE_FILE_NAME}}
# sudo apt-get update -y
# sudo apt-get install openmpi-bin -y

- name: run launcher
run: |
Expand Down

0 comments on commit 433fd12

Please sign in to comment.