On 2024-10-20 13:20, Michele Locati via Cygwin wrote:
Il giorno dom 20 ott 2024 alle ore 19:57 Jon Turney
<jon.tur...@dronecode.org.uk> ha scritto:
You might like to try the semi-official action [1]
[1] https://github.com/cygwin/cygwin-install-action

Hi Jon,
thanks for the tip!

I tried it, with this GitHub Action step:

-
   name: Install Cygwin
   uses: cygwin/cygwin-install-action@v4
   timeout-minutes: 60
   with:
     packages: 
wget,file,make,unzip,dos2unix,mingw64-x86_64-gcc-core,mingw64-x86_64-gcc-g++,mingw64-x86_64-headers,mingw64-x86_64-runtime
     install-dir: C:\cygwin
     site: https://mirrors.kernel.org/sourceware/cygwin/
     add-to-path: false

I have had the following failure 2 out of 4 times (see [1]):

Program 'setup.exe' failed to run: The specified executable is not a
valid application for this OS platform.At
D:\a\_temp\72ae83d2-faf5-4c1c-8e08-6720647559b7.ps1:63 char:1
+ & C:\setup.exe $args | Out-Default
+ ~~~~~~~~~~~~~~~~~~~~.
At D:\a\_temp\72ae83d2-faf5-4c1c-8e08-6720647559b7.ps1:63 char:1
+ & C:\setup.exe $args | Out-Default
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : ResourceUnavailable: (:) [],
ParentContainsErrorRecordException
     + FullyQualifiedErrorId : NativeCommandFailed

So, it seems that semi-official action fails too, and not always
exactly like I experienced (but at least the step now fails
immediately with an error message, instead of freezing for hours).

[1] https://github.com/mlocati/gettext-iconv-windows/actions/runs/11428859634

Could newer Windows 11 builds require a a signed executable, or newer manifest GUID, version, urn asmv than Win 10:

windows-default-manifest:       usr/lib/default-manifest.o

In failing installs, could you check the GUIDs in ntdll.dll under the symbol SbSupportedOsList, referenced by a function called SbGetContextDetailsByVersion from:
https://stackoverflow.com/questions/68240304/whats-the-supportedos-guid-for-windows-11

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry

--
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

Reply via email to