Skip to content

Commit

Permalink
Test_centos7_release_37
Browse files Browse the repository at this point in the history
Signed-off-by: arnaud <[email protected]>
  • Loading branch information
ARnDOSrte committed Oct 16, 2023
1 parent 1bdd779 commit 020b7cc
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 79 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci_centos7.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: CI-cpp-centos7

on: [push]
on:
push:
workflow_dispatch:

defaults:
run:
Expand Down Expand Up @@ -56,4 +58,21 @@ jobs:
run: cmake --build $GITHUB_WORKSPACE/metrix-simulator/build-linux --target install --parallel 2

- name: Tests
run: cd $GITHUB_WORKSPACE/metrix-simulator/build-linux && ctest -j2 --output-on-failure
run: cd $GITHUB_WORKSPACE/metrix-simulator/build-linux && ctest -j2 --output-on-failure

- name: Prepare Metrix install
if: github.event_name == 'workflow_dispatch'
id: metrix-install
run: |
ARCHIVE_NAME="metrix-simulator-centos7.zip"
ARCHIVE_PATH="$PWD/${ARCHIVE_NAME}"
zip $ARCHIVE_PATH /__w/powsybl-metrix/powsybl-metrix/metrix-simulator/build-linux/install/bin/metrix-simulator
echo "::set-output name=archive_name::$ARCHIVE_NAME"
echo "::set-output name=archive_path::$ARCHIVE_PATH"
- name: Upload OR-Tools install artifact
if: github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v3
with:
name: ${{ steps.metrix-install.outputs.archive_name }}
path: ${{ steps.metrix-install.outputs.archive_path }}
76 changes: 0 additions & 76 deletions .github/workflows/publish_artifact_centos7.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/qa_pr_cpp_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ jobs:

- name: Configure 3rd parties
run: |
source /opt/rh/devtoolset-9/enable
source /opt/rh/devtoolset-9/enable
cmake -S $GITHUB_WORKSPACE/metrix-simulator/external -B $GITHUB_WORKSPACE/metrix-simulator/build/external
Expand Down

0 comments on commit 020b7cc

Please sign in to comment.