Skip to content

refactor: Switch to stdbool #13

refactor: Switch to stdbool

refactor: Switch to stdbool #13

Workflow file for this run

#--------------------------------------------------------------------
# Copyright (c) 2021 James O. D. Hunt <jamesodhunt@gmail.com>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#--------------------------------------------------------------------
name: Build procenv in GitHub Actions build environment
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update -qq
sudo apt install -y \
autoconf \
autoconf-archive \
automake \
autopoint \
build-essential \
check \
clang
- name: Build with ${{ matrix.compiler }}
run: |
./autogen.sh
./configure
${{ matrix.compiler }} --version
make CC=${{ matrix.compiler }} -j$(nproc)
- name: Test (${{ matrix.compiler }} binary)
run: |
make check