Skip to content

Commit

Permalink
Run install step via GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Aug 17, 2024
1 parent c6002a1 commit b56dddf
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/checkCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,23 @@ jobs:
cmake --build build -- -j8
fi
- name: Run tests
run: ctest --test-dir build --build-config ${{ matrix.configuration }} --verbose
run: ctest --no-tests=error --test-dir build --build-config ${{ matrix.configuration }} --verbose
- name: Install
run: |
if [ "${{ matrix.compiler }}" == "msvc" ]; then
cmake --build build --target install --config ${{ matrix.configuration }}
else
cmake --build build --target install
fi
build_cmake_windows-cygwin:
name: build_cmake_windows-cygwin
runs-on: windows-latest
timeout-minutes: 5
strategy:
matrix:
configuration:
- Debug
steps:
- name: Set git to use LF
run: git config --global core.autocrlf input
Expand All @@ -86,7 +97,7 @@ jobs:
- name: Configure
run: |
export PATH=/usr/bin:$PATH
cmake -S "$(cygpath ${SRCDIR})" -B build -DMODELICA_UTILITIES_INCLUDE_DIR="$(cygpath ${TESTDIR})" -DBUILD_TESTING=ON -DMODELICA_DEBUG_TIME_EVENTS=ON -DCMAKE_BUILD_TYPE=Debug -G Ninja
cmake -S "$(cygpath ${SRCDIR})" -B build -DMODELICA_UTILITIES_INCLUDE_DIR="$(cygpath ${TESTDIR})" -DBUILD_TESTING=ON -DMODELICA_DEBUG_TIME_EVENTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -G Ninja
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
env:
CYGWIN_NOWINPATH: 1
Expand All @@ -100,7 +111,12 @@ jobs:
- name: Run tests
run: |
export PATH=/usr/bin:/usr/local/bin:$PATH
ctest --test-dir build --build-config Debug --verbose
ctest --no-tests=error --test-dir build --build-config ${{ matrix.configuration }} --verbose
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
- name: Install
run: |
export PATH=/usr/bin:$PATH
cmake --build build --target install --config ${{ matrix.configuration }}
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'

html_documentation_checks:
Expand Down

0 comments on commit b56dddf

Please sign in to comment.