-
Notifications
You must be signed in to change notification settings - Fork 27
31 lines (29 loc) · 823 Bytes
/
test.yml
File metadata and controls
31 lines (29 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: build
on: [push, pull_request]
jobs:
build:
name: build (${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
ruby: [ "4.0", 3.4, 3.3, 3.2, 3.1, head ]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install tk-dev
gem install bundler --no-document
bundle install
- name: Run test
run: |
rake compile -- --with-tcltkversion=8.6 \
--with-tcl-lib=/usr/lib/x86_64-linux-gnu \
--with-tk-lib=/usr/lib/x86_64-linux-gnu \
--with-tcl-include=/usr/include/tcl8.6 \
--with-tk-include=/usr/include/tcl8.6