From cf4aeb28d71b1ac9bea54dcdc5a9ccda5c499036 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 29 Jul 2021 16:30:02 +0900 Subject: Install `bison` on the platforms. --- .github/workflows/build.yml | 8 +++++--- appveyor.yml | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91ff8f525..7745f9676 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,8 +90,10 @@ jobs: run: ruby -v - name: Compiler version run: ${{ env.CC }} --version - - name: Install Bison - run: pacman -S bison + - uses: msys2/setup-msys2@v2 + with: + update: true + install: 'git base-devel bison' - name: Build and test run: rake -m test:build && rake test:run @@ -146,7 +148,7 @@ jobs: timeout-minutes: 10 env: MRUBY_CONFIG: ci/msvc - BISON: C:\ProgramData\chocolatey\lib\winflexbison3\tools\win_bison.exe + YACC: C:\ProgramData\chocolatey\lib\winflexbison3\tools\win_bison.exe steps: - uses: actions/checkout@v2.3.4 - name: Ruby version diff --git a/appveyor.yml b/appveyor.yml index f2fa54a89..07c9731df 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -43,5 +43,6 @@ install: build_script: - set MRUBY_CONFIG=ci/msvc + - set YACC=C:\ProgramData\chocolatey\lib\winflexbison3\tools\win_bison.exe - rake -m test:build - rake test:run -- cgit v1.2.3