Skip to content

chore(deps): update docker/setup-buildx-action action to v3.6.1 #126

chore(deps): update docker/setup-buildx-action action to v3.6.1

chore(deps): update docker/setup-buildx-action action to v3.6.1 #126

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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 }}"