ssldump/.github/workflows/build.yml

36 lines
798 B
YAML
Raw Normal View History

name: Build CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# build the main branch every Monday morning
- cron: '37 9 * * 1'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [cc, clang, gcc-12]
steps:
- name: Checkout code
uses: actions/checkout@v3
2023-02-04 23:50:29 +00:00
- name: ./autogen.sh
run: ./autogen.sh
- name: Compiler version
run: $CC -v
env:
CC: ${{ matrix.compiler }}
- name: Install dependencies
2023-02-06 01:51:00 +00:00
run: sudo apt install autoconf libssl-dev libpcap-dev libnet1-dev libjson-c-dev
- name: ./configure
run: ./configure
env:
CC: ${{ matrix.compiler }}
- name: make
run: make