X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F3CB3858C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1705512470; bh=O4ufGy/ndNKl+XRes2SmtVWIj9aE0+Abtixd5OIvEVQ=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=dU0owtZzN1gYCk4BLwf2uQn54FZDalyFi8OI6bdF6841cnyGNKbRBGP6diEwjbpVe yg3AYA1TAJAzL8VWzLRem4+fiiOdaDc3fZ89oopkNZ3TRiSYcgunBjLj+8sZ9DDscw 8k5ukTmeV5GKKmeM/cAFSwiouJpshEtemsMNxKWk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3633C3858D33 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3633C3858D33 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 To: cygwin AT cygwin DOT com Subject: How to test Cygwin 3.5 using github actions Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Glenn Strauss via Cygwin Reply-To: Glenn Strauss Content-Type: text/plain; charset="iso-8859-1" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 40HHRpbc009612 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 AT v4 - uses: cygwin/cygwin-install-action AT 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple