support building with GCC 13 & drop old OSs #80
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: is2-ci | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, macos-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install Ubuntu 22 dependencies | |
if: matrix.os == 'ubuntu-22.04' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libunwind-dev libgoogle-perftools-dev rapidjson-dev | |
- name: Install Ubuntu 20/18 dependencies | |
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-18.04' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgoogle-perftools-dev rapidjson-dev | |
- name: Install macOS dependencies | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install cmake gperftools dpkg rapidjson | |
- name: Run build script | |
run: | | |
./build.sh |