Install `bison` on the platforms.

parent 60517c12
...@@ -90,8 +90,10 @@ jobs: ...@@ -90,8 +90,10 @@ jobs:
run: ruby -v run: ruby -v
- name: Compiler version - name: Compiler version
run: ${{ env.CC }} --version run: ${{ env.CC }} --version
- name: Install Bison - uses: msys2/setup-msys2@v2
run: pacman -S bison with:
update: true
install: 'git base-devel bison'
- name: Build and test - name: Build and test
run: rake -m test:build && rake test:run run: rake -m test:build && rake test:run
...@@ -146,7 +148,7 @@ jobs: ...@@ -146,7 +148,7 @@ jobs:
timeout-minutes: 10 timeout-minutes: 10
env: env:
MRUBY_CONFIG: ci/msvc 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: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4
- name: Ruby version - name: Ruby version
......
...@@ -43,5 +43,6 @@ install: ...@@ -43,5 +43,6 @@ install:
build_script: build_script:
- set MRUBY_CONFIG=ci/msvc - set MRUBY_CONFIG=ci/msvc
- set YACC=C:\ProgramData\chocolatey\lib\winflexbison3\tools\win_bison.exe
- rake -m test:build - rake -m test:build
- rake test:run - rake test:run
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment