Skip to content

Merge pull request #24 from sjinks/renovate/alpine-3.x #68

Merge pull request #24 from sjinks/renovate/alpine-3.x

Merge pull request #24 from sjinks/renovate/alpine-3.x #68

Workflow file for this run

name: Build
on:
push:
workflow_dispatch:
jobs:
build:
permissions:
contents: read
name: Build
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') || github.event_name == 'workflow_dispatch' }}
strategy:
fail-fast: true
matrix:
COMPILER:
- CC: gcc
CFLAGS: -O2 -Wall -Wextra -Werror -Wno-unknown-pragmas -Wno-unused-parameter -fvisibility=hidden -fno-strict-aliasing
- CC: clang
CFLAGS: -O2 -Weverything -Werror -Wno-unknown-warning-option -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unsafe-buffer-usage -Wno-strict-prototypes -fvisibility=hidden -fno-strict-aliasing
CPPFLAGS:
- ""
- "-DMINIMALISTIC_BUILD"
steps:
- name: Check out source code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install dependencies
run: sudo apt-get -qq update && sudo apt-get install -y libev-dev
- name: make
run: make CPPFLAGS="${{ matrix.CPPFLAGS }}" CC=${{ matrix.COMPILER.CC }} CFLAGS="${{ matrix.COMPILER.CFLAGS }}"