Use malloc() for members #110
Workflow file for this run
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: C/C++ CI | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: trunk | |
paths: | |
- '**' | |
- '!**.md' | |
- '!docs/**' | |
- '!**.yml' | |
- '**/c-cpp.yml' | |
pull_request: | |
branches: trunk | |
paths: | |
- '**' | |
- '!**.md' | |
- '!docs/**' | |
- '!**.yml' | |
- '**/c-cpp.yml' | |
jobs: | |
ubuntu-focal: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo apt-get install -y meson | |
- run: | | |
meson _build | |
cd _build | |
ninja | |
meson test -v | |
ubuntu-jammy: | |
runs-on: ubuntu-22.04 | |
env: | |
CC: 'gcc-12' | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo apt-get install -y meson $CC | |
- run: | | |
meson _build | |
cd _build | |
ninja | |
meson test -v | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: brew install meson | |
- run: | | |
meson _build | |
cd _build | |
ninja | |
ninja test |