Add MSVC 2005 and MSVC 2026 Wine pre-commit support #63
This file contains hidden or 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", "master" ] | |
| pull_request: | |
| branches: [ "main", "master" ] | |
| jobs: | |
| build: | |
| uses: SamuelMarks/c-ci/.github/workflows/c-cmake-ci.yml@master | |
| with: | |
| cmake_configure_flags: '-DC89STRINGUTILS_BUILD_AMALGAMATION=ON' | |
| project_name: 'c89stringutils' | |
| test-amalg: | |
| name: Test Amalgamation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Generate amalgamation | |
| run: | | |
| cmake -B build -DC89STRINGUTILS_BUILD_AMALGAMATION=ON | |
| cmake --build build | |
| - name: Compile Test Amalgamation | |
| run: gcc -Wall -Wextra -Werror -Ibuild/c89stringutils -o test_amalg c89stringutils/tests/test_amalg.c | |
| - name: Run Test Amalgamation | |
| run: ./test_amalg |