Skip to content

Commit 4d062a0

Browse files
tmlemankv2019i
authored andcommitted
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. And fix typo: x64_84 -> x86_64 Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
1 parent 570f381 commit 4d062a0

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
@@ -417,13 +417,7 @@ jobs:
417417
choco install ninja
418418
ninja.exe --version
419419
420-
# Install GPERF for Windows
421-
- name: Install gperf
422-
run: |
423-
choco install gperf
424-
gperf --version
425-
426-
# MSYS2 provides gcc x64_86 toolchain & openssl
420+
# MSYS2 provides gcc x86_64 toolchain, openssl & gperf
427421
# Installs in D:/a/_temp/msys64
428422
#
429423
# Note there is already C:/msys64/ provided by
@@ -433,7 +427,7 @@ jobs:
433427
uses: msys2/setup-msys2@cafece8e6baf9247cf9b1bf95097b0b983cc558d # v2
434428
with:
435429
msystem: MSYS
436-
install: gcc openssl-devel
430+
install: gcc openssl-devel gperf
437431
path-type: inherit
438432

439433
- name: Build

0 commit comments

Comments
 (0)