Skip to content

docs: update README #4266

docs: update README

docs: update README #4266

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
build_type: [Release, Debug]
compiler: [gcc, clang]
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
exclude:
- os: macos-11
compiler: gcc
- os: macos-12
compiler: gcc
env:
CC: ${{ matrix.compiler }}
CMAKE_GENERATOR: Ninja
steps:
- uses: actions/checkout@v4
- name: openssl path macos
if: ${{ runner.os == 'macOS' }}
run: |
echo "OPENSSL_ROOT_DIR=$(brew --prefix openssl)" >> $GITHUB_ENV
- name: fix flaky azure mirrors
if: ${{ runner.os == 'Linux' }}
run: |
sudo sed -i 's/azure\./de\./' /etc/apt/sources.list
- name: install packages
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get update && sudo apt-get install -y ninja-build
- name: install packages
if: ${{ runner.os == 'macOS' }}
run: |
brew install ninja
- name: make info
run: |
echo "OS: ${{ matrix.os }}"
echo "--- ${{ matrix.compiler }} DEBUG VERSION ---"
${{ matrix.compiler }} - --version
- name: cmake
run: |
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -Werror -DCMAKE_C_FLAGS="-Werror"
cmake --build build -t retest
- name: retest
run: |
./build/test/retest -r -v