forked from masamitsu-murase/seven_zip_ruby
-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (41 loc) · 974 Bytes
/
rake.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: rake
on:
push:
branches: [ master, main ]
tags: [ v* ]
pull_request:
permissions:
contents: write
jobs:
rake-alpine:
name: Test on Ruby ${{ matrix.ruby.version }} ${{ matrix.os }}-${{ matrix.env.CC }}
runs-on: ubuntu-latest
env: ${{ matrix.env }}
container:
image: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- alpine:3.18
- alpine:3.16
env:
- CC: gcc
CXX: g++
- CC: clang
CXX: clang++
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Ruby
run: |
apk --no-cache --upgrade add build-base cmake git bash \
autoconf make binutils-dev pkgconfig tar ruby-dev clang
- name: Install Bundler
run: |
gem install bundler
bundle install
- run: bundle exec rake
rake:
needs: rake-alpine
uses: fontist/support/.github/workflows/rake.yml@main