Skip to content

add tests for bits and color #52

add tests for bits and color

add tests for bits and color #52

Workflow file for this run

name: MinGW
on:
push:
branches:
- main
tags:
- v*.*.*
paths:
- '!README.md'
- '!CONTRIBUTING.md'
- '!docs/**'
- 'include/**'
- 'demo/**'
- '.github/**'
- 'tests/**'
pull_request:
branches:
- main
paths:
- '!README.md'
- '!CONTRIBUTING.md'
- '!docs/**'
- 'include/**'
- 'demo/**'
- '.github/**'
- 'tests/**'
jobs:
x64:
runs-on: windows-2022
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: Setup Dependencies
shell: powershell
run: |
choco install -y 7zip.install
curl.exe -OL https://github.com/niXman/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev0/x86_64-13.2.0-release-win32-seh-msvcrt-rt_v11-rev0.7z
7z x x86_64-13.2.0-release-win32-seh-msvcrt-rt_v11-rev0.7z
- name: Configure CMake
run: |
cmake -B build_mingw -DCMAKE_BUILD_TYPE=Debug -G "MinGW Makefiles" -DCCACHE_ENABLE=OFF demo
env:
CC: ${{github.workspace}}/mingw64/bin/gcc.exe
CXX: ${{github.workspace}}/mingw64/bin/g++.exe
- name: Build
run: |
cmake --build build_mingw --config Debug
env:
CC: ${{github.workspace}}/mingw64/bin/gcc.exe
CXX: ${{github.workspace}}/mingw64/bin/g++.exe