-
Notifications
You must be signed in to change notification settings - Fork 63
51 lines (48 loc) · 1.29 KB
/
build.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
50
51
name: Test
on:
push:
branches:
- master
pull_request:
env:
DOCKER_FLAGS: ""
CI: 1
jobs:
gcc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: checkout submodules
run: git submodule update --init --recursive
- name: test with gcc
run: rake docker_test_gcc
clang:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: checkout submodules
run: git submodule update --init --recursive
- name: test with clang
run: rake docker_test_clang
ruby27:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: checkout submodules
run: git submodule update --init --recursive
- name: test when hosted by Ruby 2.7
run: rake docker_test_ruby27
macos:
runs-on: macos-12
steps:
- uses: actions/checkout@v1
- name: checkout submodules
run: git submodule update --init --recursive
- name: install ruby
run: brew install ruby autoconf automake libtool pkg-config
- name: install openssl
run: brew install openssl
- name: test with clang on macOS
env:
PKG_CONFIG_PATH: /usr/local/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig
run: rake test