Skip to content

add cygwin

add cygwin #14

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make
run: make CXXFLAGS="-std=c++17 -Wall" serial
macos-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: make
run: make CXXFLAGS="-std=c++17 -Wall" serial
cygwin-build:
runs-on: windows-latest
steps:
- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v4
with:
packages: cmake gcc-g++
- name: make
run: make CXXFLAGS="-std=c++17 -Wall" serial