Replace str_alloc_centered_and_formatted()
with astr_centered_f()
.
#146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |