summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--appveyor.yml1
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/[email protected]
- 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