8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00
firebird-mirror/extern/re2/.github/workflows/ci.yml
Adriano dos Santos Fernandes 2e35cc66e7 Update re2 to version 2021-04-01.
2021-05-26 10:07:49 -03:00

52 lines
1.1 KiB
YAML

name: CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
env:
CC: clang
CXX: clang++
steps:
- uses: actions/checkout@v2
- run: make && make test
shell: bash
build-clang:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [9, 10, 11]
env:
CC: clang-${{ matrix.tag }}
CXX: clang++-${{ matrix.tag }}
steps:
- uses: actions/checkout@v2
- name: Install Clang ${{ matrix.tag }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh ${{ matrix.tag }}
shell: bash
- run: make && make test
shell: bash
build-gcc:
runs-on: ubuntu-latest
container: gcc:${{ matrix.tag }}
strategy:
fail-fast: false
matrix:
tag: [4, 5, 6, 7, 8, 9, 10]
env:
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@v2
- run: make && make test
shell: bash