Skip to content

build with gcc and clang #16

build with gcc and clang

build with gcc and clang #16

Workflow file for this run

---
name: Test
on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- none
- libconfig
cc:
- gcc
- clang
steps:
- uses: actions/checkout@v4
- name: Install pkg-config
run: sudo apt-get install -y pkg-config
- name: Install libconfig
if: matrix.config == 'libconfig'
run: sudo apt-get install -y libconfig-dev
- run: ./autogen.sh
env:
CC: ${{ matrix.cc }}
- run: make
env:
CC: ${{ matrix.cc }}