agora inbox for [email protected]
help / color / mirror / Atom feedFrom: Andres Freund <[email protected]>
Subject: [PATCH v8a 07/14] ci: windows: Install bison flex via msys
Date: Wed, 3 Jun 2026 02:21:00 -0400
That's a fair bit faster and fails less often.
---
.github/workflows/pg-ci.yml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/pg-ci.yml b/.github/workflows/pg-ci.yml
index b05c3539ab6..e35170956e8 100644
--- a/.github/workflows/pg-ci.yml
+++ b/.github/workflows/pg-ci.yml
@@ -760,10 +760,25 @@ jobs:
Add-Content $env:GITHUB_ENV "PATH=$filtered"
Write-Host "Removed Mercurial entries from PATH"
+ # Install some dependencies via msys64, that seems to be the fastest and
+ # most reliable
+ - name: Install dependencies, Mingw
+ shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail "{0}"'
+ run: |
+ # Install some dependencies via msys64, that seems to be the fastest
+ # and most reliable
+ pacman -S --noconfirm --needed --asdeps \
+ bison flex
+
+ # Make bison and flex visible
+ echo C:/msys64/usr/bin >> "$GITHUB_PATH"
+
+ # Don't prefer mingw's perl
+ echo C:/Strawberry/perl/bin >> "$GITHUB_PATH"
+
- name: Install dependencies
shell: pwsh
run: |
- choco install -y --no-progress --limitoutput diffutils winflexbison3
# meson + ninja aren't preinstalled on windows-2022. Install via pip
python -m pip install --upgrade meson ninja
--
2.54.0.380.gc69baaf57b
--vphnza2cz5zw5t4a
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
filename="v8a-0008-ci-mingw-Don-t-install-make-use-asdeps.patch"
view thread (995+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [PATCH v8a 07/14] ci: windows: Install bison flex via msys
In-Reply-To: <no-message-id-586486@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox