-
Notifications
You must be signed in to change notification settings - Fork 35
29 lines (28 loc) · 766 Bytes
/
build.yml
File metadata and controls
29 lines (28 loc) · 766 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
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- ruby: "4.0"
os: ubuntu-24.04
valgrind: true
- ruby: 3.4
os: macos-26
- ruby: 3.3
os: macos-15-intel
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: MAKE="make -j$(getconf _NPROCESSORS_ONLN)" bundle exec rake compile
- run: bundle exec rake test
- if: ${{ matrix.valgrind }}
run: |
sudo apt-get update && sudo apt-get install valgrind
bundle exec rake test:valgrind