Skip to content

CI: update OS

CI: update OS #12

Workflow file for this run

name: Tests
on: [pull_request]
jobs:
unit-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
compiler: [[gcc, g++], [clang, clang++]]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgoogle-perftools-dev
- name: Build
run: |
$CC --version
$CXX --version
make -j 4 CC=$CC CXX=$CXX OPTFLAGS="-O2 -fPIE"
./yrmcdsd &
sleep 1
env:
CC: ${{ matrix.compiler[0] }}
CXX: ${{ matrix.compiler[1] }}
- name: Run tests
run: |
make YRMCDS_SERVER=localhost tests