Fix CI builds #4039
Workflow file for this run
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: 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 |