Skip to content

Commit

Permalink
Test centos7_22
Browse files Browse the repository at this point in the history
  • Loading branch information
ARnDOSrte committed Sep 28, 2023
1 parent d07ff42 commit fd36eca
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci_centos7.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI-cpp
name: CI-cpp-centos7

on: [push]

Expand Down Expand Up @@ -127,7 +127,9 @@ jobs:
- name: Build
run: |
source /opt/rh/devtoolset-9/enable
${{ runner.workspace }}/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir $GITHUB_WORKSPACE/metrix-simulator/build/output cmake --build $GITHUB_WORKSPACE/metrix-simulator/build --parallel 2 --target install
${{ runner.workspace }}/build-wrapper-linux-x86/build-wrapper-linux-x86-64
--out-dir $GITHUB_WORKSPACE/metrix-simulator/build/output
cmake --build $GITHUB_WORKSPACE/metrix-simulator/build --parallel 2 --target install
- name: Tests
run: cd $GITHUB_WORKSPACE/metrix-simulator/build && ctest -j8 --output-on-failure
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI-cpp
name: CI-cpp-ubuntu

on: [push]

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
- name: Build with Maven
run: mvn --batch-mode package

- name: Run SonarCloud analysis
if: matrix.os == 'ubuntu-latest'
run: >
mvn --batch-mode -Pjacoco verify sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=powsybl-ci-github
-Dsonar.projectKey=com.powsybl:powsybl-metrix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# - name: Run SonarCloud analysis
# if: matrix.os == 'ubuntu-latest'
# run: >
# mvn --batch-mode -Pjacoco verify sonar:sonar
# -Dsonar.host.url=https://sonarcloud.io
# -Dsonar.organization=powsybl-ci-github
# -Dsonar.projectKey=com.powsybl:powsybl-metrix
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit fd36eca

Please sign in to comment.