CI #274
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "30 14 * * *" | |
jobs: | |
ruby-versions: | |
uses: ruby/actions/.github/workflows/ruby_versions.yml@master | |
with: | |
engine: cruby | |
min_version: 2.5 | |
yamatanooroti: | |
needs: ruby-versions | |
name: >- | |
yamaoro ${{ matrix.os }} ${{ matrix.ruby }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} | |
os: [ ubuntu-latest ] | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install libvterm | |
run: | | |
sudo apt install -y libtool-bin | |
wget http://www.leonerd.org.uk/code/libvterm/libvterm-0.1.4.tar.gz | |
tar xvzf libvterm-0.1.4.tar.gz | |
cd libvterm-0.1.4 | |
sed -i -e 's/^PREFIX=.*$/PREFIX=\/usr/g' Makefile | |
make | |
sudo make install | |
- name: rake test | |
run: | | |
bundle install | |
bundle exec rake test |