Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions .github/workflows/CI-cygwin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: CI-cygwin

on: [push, pull_request]

permissions:
contents: read

defaults:
run:
shell: bash

jobs:
build:

strategy:
matrix:
compiler: [g++]
fail-fast: false

runs-on: windows-2025

env:
CXX: ${{ matrix.compiler }}

steps:
- run: |
git config --global core.autocrlf input

- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Cygwin
uses: cygwin/cygwin-install-action@v6
with:
platform: 'x86_64'
packages: |
gcc-g++
python3
cmake

- name: make simplecpp
shell: cmd
run: |
pwd
ls -l
make -j1 CXXOPTS="-Werror"

- name: make simplecpp
run: |
pwd
ls -l
make -j1 CXXOPTS="-Werror"

- name: run test
run: |
make -j1 test

- name: selfcheck
run: |
make -j1 selfcheck

- name: Run CMake
run: |
cmake -S . -B cmake.output -DCMAKE_COMPILE_WARNING_AS_ERROR=On

- name: CMake simplecpp
run: |
cmake --build cmake.output --target simplecpp -- -j 4

- name: CMake testrunner
run: |
cmake --build cmake.output --target testrunner -- -j 4

- name: Run testrunner
run: |
./cmake.output/testrunner

- name: Run with libstdc++ debug mode
if: matrix.compiler == 'g++'
run: |
make clean
make -j1 test selfcheck CXXOPTS="-Werror -g3 -D_GLIBCXX_DEBUG"

- name: Run with libc++ hardening mode
if: matrix.compiler == 'clang++' && matrix.msystem == 'CLANG64'
run: |
make clean
make -j1 test selfcheck CXXOPTS="-Werror -stdlib=libc++ -g3 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG" LDOPTS="-lc++"
163 changes: 0 additions & 163 deletions .github/workflows/CI-unixish.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/CI-windows.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/clang-tidy.yml

This file was deleted.

Loading
Loading