summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMichael Baentsch <57787676+baentsch@users.noreply.github.com>2023-06-04 14:43:35 +0200
committerTomas Mraz <tomas@openssl.org>2023-06-12 08:18:46 +0200
commite3b01eb6b25e76d4832d81023d056948edc2cb36 (patch)
treeacfdb6c59974ea58b6bb07306bf6b42238827208 /.github
parent9b9c42db3b7e7807e0d3311356fb0316af085171 (diff)
add cygwin CI
Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21006)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index bcc36163e5..d37b7b75f5 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -109,3 +109,41 @@ jobs:
- name: test
working-directory: _build
run: nmake test VERBOSE_FAILURE=yes TESTS=-test_fuzz* HARNESS_JOBS=4
+ cygwin:
+ # Run a job for each of the specified target architectures:
+ strategy:
+ matrix:
+ os:
+ - windows-2019
+# really worth while running, too? cygwin should mask this
+# - windows-2022
+ platform:
+ - arch: win64
+ config: -DCMAKE_C_COMPILER=gcc --strict-warnings no-fips enable-quic
+# are we really learning sth new from win32? So let's save some CO2 for now disabling this
+# - arch: win32
+# config: -DCMAKE_C_COMPILER=gcc --strict-warnings no-fips enable-quic
+ runs-on: ${{matrix.os}}
+ env:
+ CYGWIN_NOWINPATH: 1
+ SHELLOPTS: igncr
+# Don't overwhelm github CI VMs:
+ MAKE_PARAMS: -j 4
+ steps:
+# Checkout before cygwin can mess with PATH...
+ - uses: actions/checkout@v3
+ - uses: cygwin/cygwin-install-action@master
+ with:
+ packages: perl git make gcc-core
+ - name: Check repo
+ run: cygcheck -V
+ - name: Full cygcheck status
+ run: cygcheck -s -v -r -h
+# Activate this if checkout action fails:
+# - name: Clone repo
+# run: bash -c "pwd && git clone --branch ${{ github.ref_name }} --depth 1 https://github.com/${{ github.repository }}.git"
+ - name: Full build
+ run: bash -c "gcc --version && ./config ${{ matrix.platform.config }} && make $MAKE_PARAMS"
+# Disable testing for now. TBD: Need local cygwin installation to debug .
+# - name: Run openssl tests
+# run: bash -c "cd openssl && make V=1 test"