Skip to content

sources/config_reader.c: new default client_max_routing (#715) #1521

sources/config_reader.c: new default client_max_routing (#715)

sources/config_reader.c: new default client_max_routing (#715) #1521

Workflow file for this run

name: CMake
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
branches:
- master
# Also trigger on page_build, as well as release created events
page_build:
release:
types: # This configuration does not affect the page_build event above
- created
jobs:
build_and_release:
strategy:
fail-fast: false
matrix:
# os: [ubuntu-latest, ubuntu-18.04]
os : [ubuntu-20.04]
compiler: [gcc]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: sudo bash scripts/install_ci.sh
- name: Format
run: make fmt
- name: Test
env:
CC: ${{ matrix.compiler }}
CC_FOR_BUILD: ${{ matrix.compiler }}
run: make run_test
- name: Prepare for release
run: tar -zcf odyssey.linux-amd64.$(git rev-parse --short HEAD).tar.gz sources
- name: Release
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-18.04' && matrix.compiler == 'gcc' # We need to release only once
env:
GHR_PATH: odyssey.linux-amd64.$(git rev-parse --short HEAD).tar.gz
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}