Skip to content

Commit a49fa2c

Browse files
committed
workflows: install gperf via MSYS2 instead of choco
Move gperf installation from Chocolatey to MSYS2 package manager. The choco install of gperf has been failing sporadically in CI, causing random build failures. Since the build already runs in MSYS2 shell, installing gperf there is simpler and more reliable. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
1 parent 126674f commit a49fa2c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/zephyr.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -394,13 +394,7 @@ jobs:
394394
choco install ninja
395395
ninja.exe --version
396396
397-
# Install GPERF for Windows
398-
- name: Install gperf
399-
run: |
400-
choco install gperf
401-
gperf --version
402-
403-
# MSYS2 provides gcc x64_86 toolchain & openssl
397+
# MSYS2 provides gcc x64_86 toolchain, openssl & gperf
404398
# Installs in D:/a/_temp/msys64
405399
#
406400
# Note there is already C:/msys64/ provided by
@@ -410,7 +404,7 @@ jobs:
410404
uses: msys2/setup-msys2@cafece8e6baf9247cf9b1bf95097b0b983cc558d # v2
411405
with:
412406
msystem: MSYS
413-
install: gcc openssl-devel
407+
install: gcc openssl-devel gperf
414408
path-type: inherit
415409

416410
- name: Build

0 commit comments

Comments
 (0)