From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.atof.net (smtp1.atof.net [52.86.233.228]) by sourceware.org (Postfix) with ESMTPS id 3633C3858D33 for ; Wed, 17 Jan 2024 17:27:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3633C3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gluelogic.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gluelogic.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3633C3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=52.86.233.228 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705512447; cv=none; b=SNKqj7Ce4sqPRE2bnWtf2wuD7wnEYYiXesWwPRuHQaTMBq42nT5Q93q2xni+qkTIWXj5tLHgqOwdS6gtmDJ43hCfzAkAWGSZUqJen738o50jv2oX3zA2eXur/wjoq5VPu4nc18ZYtmELxzNw9KrmGyE8/qOPHhfFdpCEDEjkjAA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705512447; c=relaxed/simple; bh=OZcl2+gzF02C7//x2n6KW1O+f0p9EMWIMaioBmMHXFE=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=gYhIuXJzA1u5nuRUnzTVyg048L23KYpcw1p3ods1QYS9DBhJJPKgTRqbe3/ZCOroqMBXDImKYooUat9JBVCCibmETqizQHBgu12IxlPagqgLa1vFZz1glI2J7jks+XtJ1u++JnpLcmraeDSnDf7mUgsO+8Q0sAaMbUdzDEftPFE= ARC-Authentication-Results: i=1; server2.sourceware.org X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Spam-Language: en X-Spam-Relay-Country: X-Spam-DCC: B=www.nova53.net; R=smtp1.atof.net 1205; Body=1 Fuz1=1 Fuz2=1 X-Spam-RBL: X-Spam-PYZOR: Reported 0 times. Date: Wed, 17 Jan 2024 12:27:18 -0500 From: Glenn Strauss To: cygwin@cygwin.com Subject: How to test Cygwin 3.5 using github actions Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_EXEURI,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 List-Id: On Wed, Jan 17, 2024 at 12:44:32PM +0100, Corinna Vinschen via Cygwin wrote: > Hi folks, > > we're planning to release Cygwin 3.5 end of this month (Jan 2024) if > nothing serious crops up. Was: Re: [ANNOUNCEMENT] Cygwin 3.5 is coming soon, please test! Corinna: Cygwin 3.5 works fine when tested with the lighttpd test suite. For others who might try something similar on their own repos: How to test Cygwin 3.5 using github actions ------------------------------------------- Starting with: https://github.com/cygwin/cygwin-install-action/ (Thanks Adam Dinwoodie, Jon Turney, Konrad Gräfe) I added to my Windows-Cygwin job: - name: Update shell: powershell run: | # (https://github.com/cygwin/cygwin-install-action/blob/master/action.yml) Invoke-WebRequest https://cygwin.com/setup-x86_64.exe -OutFile C:\setup.exe # because setup is a Windows GUI app, make it part of a pipeline to make # PowerShell wait for it to exit & C:\setup.exe -qgnO -t | Out-Default Hey Jon, would you accept a pull request to add an option to add -t to the call to setup.exe in cygwin-install-action? For lighttpd, I added the above to https://github.com/lighttpd/lighttpd1.4/blob/master/.github/workflows/pr.yml#L190 The whole lighttpd Windows-Cygwin job currently looks like this: Windows-Cygwin: runs-on: windows-latest env: CYGWIN: winsymlinks:native steps: - run: git config --global core.autocrlf input - uses: actions/checkout@v4 - uses: cygwin/cygwin-install-action@master with: packages: > autoconf automake libtool m4 make cmake meson ninja scons gcc-g++ git pkgconf perl libpcre2-devel libnettle-devel gnutls-devel mbedtls-devel libnss-devel libssl-devel libbrotli-devel libdeflate-devel zlib-devel libzstd-devel libsasl2-devel libkrb5-devel libdbi-devel openldap-devel libmariadb-devel libpq-devel libmaxminddb-devel libunwind-devel lua-devel lua5.1-devel libxml2-devel libuuid-devel libsqlite3-devel - name: Update shell: powershell run: | # (https://github.com/cygwin/cygwin-install-action/blob/master/action.yml) Invoke-WebRequest https://cygwin.com/setup-x86_64.exe -OutFile C:\setup.exe # because setup is a Windows GUI app, make it part of a pipeline to make # PowerShell wait for it to exit & C:\setup.exe -qgnO -t | Out-Default - name: Compile and Test #shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}' shell: C:\cygwin\bin\bash.exe --login -o igncr -eo pipefail '{0}' run: | set -e export PATH=/usr/bin:$(cygpath ${SYSTEMROOT})/system32 # lighttpd-specific build and test commands: export NO_PAM=1 NO_UNWIND=1 NO_WOLFSSL=1 cd "${{github.workspace}}" && scripts/ci-build.sh autobuild Cheers, Glenn