Dynawo final state values #1819
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'release-v**' | |
- 'full-sonar-analysis-**' | |
pull_request: | |
jobs: | |
build: | |
name: Build OS ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
with: | |
path: main | |
- name: Checkout powsybl-core branch | |
uses: actions/checkout@v4 | |
with: | |
repository: powsybl/powsybl-core | |
ref: refs/heads/dynamic_simulation_fsv | |
path: powsybl-core | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Build and install powsybl-core with Maven | |
run: mvn --batch-mode -DskipTests=true --file ./powsybl-core/pom.xml install | |
- name: Build with Maven | |
if: matrix.os == 'ubuntu-latest' | |
run: mvn --batch-mode -Pintegration-tests,jacoco --file ./main/pom.xml install | |
- name: Build with Maven | |
if: matrix.os != 'ubuntu-latest' | |
run: mvn --batch-mode --file ./main/pom.xml install | |
- name: Run SonarCloud analysis | |
if: matrix.os == 'ubuntu-latest' | |
run: > | |
mvn --batch-mode -DskipTests --file ./main/pom.xml sonar:sonar | |
-Dsonar.host.url=https://sonarcloud.io | |
-Dsonar.organization=powsybl-ci-github | |
-Dsonar.projectKey=com.powsybl:powsybl-dynawo | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |