Remove `bison` installation from GitHub Actions.
MODIFY
.github/workflows/build.yml
.github/workflows/build.yml
@@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: apt
- run: sudo apt install ruby gperf bison
+ run: sudo apt install ruby gperf
- name: build and test
run: rake -m -j4 all test
env:
@@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: apt
- run: sudo apt install ruby gperf bison gcc g++
+ run: sudo apt install ruby gperf gcc g++
- name: build and test
run: rake -m -j4 all test
env:
@@ -32,7 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: apt
- run: sudo apt install ruby gperf bison
+ run: sudo apt install ruby gperf
- name: build and test
run: rake -m -j4 all test
env:
@@ -45,24 +45,22 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: brew
- run: brew install ruby gperf bison
+ run: brew install ruby gperf
- name: build and test
run: rake -m -j4 all test
env:
MRUBY_CONFIG: travis_config.rb
- YACC: /usr/local/opt/bison/bin/bison
Windows-MinGW:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: chocolatey
- run: choco install -y ruby winflexbison gperf
+ run: choco install -y ruby gperf
- name: build and test
run: rake -E '$stdout.sync=true' -j4 test
env:
MRUBY_CONFIG: travis_config.rb
- YACC: win_bison
CFLAGS: -g -O1 -Wall -Wundef
Windows-Cygwin:
@@ -80,7 +78,7 @@ jobs:
run: choco install -y cygwin
- name: Install cygwin packages
shell: cmd
- run: C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -l C:/tools/cygwin/package -s http://mirrors.kernel.org/sourceware/cygwin/ -P gcc-core,gcc-g++,bison,make,gperf,ruby
+ run: C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -l C:/tools/cygwin/package -s http://mirrors.kernel.org/sourceware/cygwin/ -P gcc-core,gcc-g++,make,gperf,ruby
- name: Set ENV
run: |
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin'
@@ -95,7 +93,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: chocolatey
- run: choco install -y ruby winflexbison gperf
+ run: choco install -y ruby gperf
- name: build and test
shell: cmd
run: |
@@ -103,7 +101,6 @@ jobs:
rake -E "STDOUT.sync=true" -m -j4 -v test
env:
MRUBY_CONFIG: appveyor_config.rb
- YACC: win_bison
# TODO(take-cheeze): Re-enable /O2
CFLAGS: "/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS"
CXXFLAGS: "/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS"

Remove `bison` installation from GitHub Actions.