From 70431be4625570abe7d2500def7b458b1c6a6d48 Mon Sep 17 00:00:00 2001 From: Ivan Gagis's Bot Date: Mon, 23 Nov 2026 01:03:51 +0200 Subject: [PATCH] ci: install bison alongside cmake on macOS/iOS The tml grammar (bnf/tml.y) is a C++-language bison grammar that requires a modern bison. Homebrew's default bison was too old to parse it, breaking the macOS and iOS builds. Install the current bison from Homebrew alongside cmake on both the macosx and ios jobs. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03c4c34..bc76c92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,7 +108,8 @@ jobs: uses: myci-actions/export-env-var@main with: {name: PATH, value: "$PATH:$VCPKG_ROOT"} - name: install ci tools - run: brew install cmake + # bison: the macOS runner ships an old bison that does not support `%language "c++"` + run: brew install cmake bison - name: generate cmake build files run: | cmake build/cmake --preset ${{ matrix.config }} @@ -205,7 +206,8 @@ jobs: uses: myci-actions/export-env-var@main with: {name: PATH, value: "$PATH:$VCPKG_ROOT"} - name: install ci tools - run: brew install cmake + # bison: the macOS runner ships an old bison that does not support `%language "c++"` + run: brew install cmake bison - name: generate cmake build files run: | cmake build/cmake --preset ios-${{ matrix.config }}