Add option to read csv data from a buffer, add some unit tests for th… #268
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: win-msys2-gcc-ci | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- feature/** | |
- improvement/** | |
- bugfix/** | |
pull_request: | |
branches: | |
- master | |
- feature/** | |
- improvement/** | |
- bugfix/** | |
jobs: | |
windows-mingw: | |
if: >- | |
! contains(toJSON(github.event.commits.*.message), '[skip ci]') && | |
! contains(toJSON(github.event.commits.*.message), '[skip github]') | |
defaults: | |
run: | |
shell: msys2 {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2019, windows-latest] | |
type: [Release, Debug] | |
config: | |
- msystem: "MINGW64" | |
install: >- | |
git mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja | |
mingw-w64-x86_64-gcc | |
- msystem: "MINGW32" | |
install: >- | |
git mingw-w64-i686-cmake mingw-w64-i686-ninja | |
mingw-w64-i686-gcc | |
runs-on: ${{matrix.os}} | |
name: "${{matrix.config.msystem}}: ${{matrix.os}}: ${{matrix.type}}" | |
env: | |
CMAKE_GENERATOR: Ninja | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
msystem: ${{matrix.config.msystem}} | |
install: ${{matrix.config.install}} | |
- name: Install dependencies | |
run: script/ci_install_deps.sh | |
- name: Configure | |
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=${{matrix.type}} | |
- name: Build | |
run: cmake --build build -j ${{steps.cores.outputs.count}} | |
- name: Run | |
working-directory: build | |
run: ctest --output-on-failure -j ${{steps.cores.outputs.count}} |