Skip to content

Commit

Permalink
Remove cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Jan 26, 2024
1 parent 5af3474 commit faf9767
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 34 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/checkCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ jobs:
- macos-clang
- windows-msvc
- windows-mingw
- windows-cygwin
configuration:
- Debug
include:
Expand All @@ -67,9 +66,6 @@ jobs:
- toolchain: windows-mingw
os: windows-latest
compiler: mingw
- toolchain: windows-cygwin
os: windows-latest
compiler: cygwin
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -83,9 +79,6 @@ jobs:
elif [ "${{ matrix.compiler }}" == "mingw" ]; then
cmake -S "$SRCDIR" -B build -DMODELICA_UTILITIES_INCLUDE_DIR="$TESTDIR" -DMODELICA_DEBUG_TIME_EVENTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -G "MinGW Makefiles"
cmake --build build
elif [ "${{ matrix.compiler }}" == "cygwin" ]; then
cmake -S "$SRCDIR" -B build -DMODELICA_UTILITIES_INCLUDE_DIR="$TESTDIR" -DMODELICA_DEBUG_TIME_EVENTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -G "Unix Makefiles"
cmake --build build
else
cmake -S "$SRCDIR" -B build -DMODELICA_UTILITIES_INCLUDE_DIR="$TESTDIR" -DMODELICA_DEBUG_TIME_EVENTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
cmake --build build
Expand All @@ -96,13 +89,30 @@ jobs:
- name: Run tests
run: ctest --test-dir build --build-config ${{ matrix.configuration }} --verbose --output-junit junit-${{ matrix.compiler }}.xml
- name: Upload test report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always() # always run even if the previous step fails
with:
name: junit-test-results
path: '**/build/junit-*.xml'
retention-days: 1

report:
needs: external_c_checks_cmake
runs-on: ubuntu-latest
steps:
- name: Download test report
uses: dawidd6/action-download-artifact@v3
with:
name: junit-test-results
workflow: ${{ github.event.workflow.id }}
run_id: ${{ github.event.workflow_run.id }}
- name: Publish test teport
uses: mikepenz/action-junit-report@v3
with:
commit: ${{github.event.workflow_run.head_sha}}
report_paths: '**/build/junit-*.xml'
annotate_only: true

html_documentation_checks:
name: html-documentation-checks
timeout-minutes: 5
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/reportCI.yml

This file was deleted.

0 comments on commit faf9767

Please sign in to comment.