Skip to content

Replace str_alloc_centered_and_formatted() with astr_centered_f(). #146

Replace str_alloc_centered_and_formatted() with astr_centered_f().

Replace str_alloc_centered_and_formatted() with astr_centered_f(). #146

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
Coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Packages
run: |
sudo apt-get update
sudo apt-get install libbsd-dev libgpm-dev
- name: Configure
run: |
cmake -S . -B ${{github.workspace}}/tmp -DADDRESS_SANITIZER=ON -DCOVERAGE=ON -DWALL=ON
- name: Build
run: |
cmake --build ${{github.workspace}}/tmp --target all
cd ${{github.workspace}}/tmp
ctest --output-on-failure
- name: Coverage
run: |
bash <(curl -s https://codecov.io/bash)
All-Tests-macOS:
name: All Tests (macOS)
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -S . -B ${{github.workspace}}/tmp -DADDRESS_SANITIZER=ON -DWALL=ON
- name: Build
run: |
cmake --build ${{github.workspace}}/tmp --target all
cd ${{github.workspace}}/tmp
ctest --output-on-failure