From 810c1350c5182276cf8fe2cc203981ede9600184 Mon Sep 17 00:00:00 2001 From: Toddr Bot Date: Thu, 18 Jun 2026 00:45:40 +0000 Subject: [PATCH] ci: add Windows CI support (GH #412) Add a windows-latest job to the test matrix with XS=y/n variants, using Strawberry Perl's gmake. The codebase already handles Win32 path differences in Provider, Context, and several test files. --- .github/workflows/testsuite.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index b29525e4..0eff1329 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -107,6 +107,33 @@ jobs: - run: make test - run: sudo make install + windows: + needs: [ubuntu] + env: + PERL_USE_UNSAFE_INC: 0 + AUTHOR_TESTING: 1 + AUTOMATED_TESTING: 1 + RELEASE_TESTING: 1 + + runs-on: windows-latest + + strategy: + fail-fast: false + matrix: + XS: [y, n] + + steps: + - uses: actions/checkout@v6 + - run: perl -V + - name: install dependencies + uses: perl-actions/install-with-cpm@v2 + with: + cpanfile: "cpanfile" + - name: Makefile.PL + run: perl Makefile.PL TT_XS_DEFAULT=${{ matrix.XS }} TT_XS_ENABLE=${{ matrix.XS }} TT_QUIET=n TT_ACCEPT=y + - run: gmake test + - run: gmake install + plugins: needs: [ubuntu,linux] env: