Squashed 'src/c-list/' changes from fa024740fc6f..9aa81d84cadc

9aa81d84cadc ci: convert to new ci-c-util

git-subtree-dir: src/c-list
git-subtree-split: 9aa81d84cadc67e92b441c89f84c57e72dd1e8a9
This commit is contained in:
Thomas Haller
2022-07-19 09:02:36 +02:00
parent 130ac3e3a9
commit d7fc80b9c7

View File

@@ -7,38 +7,26 @@ on:
- cron: '0 0 * * *'
jobs:
ci:
name: CI with Default Configuration
ci-linux:
name: Linux CI
uses: bus1/cabuild/.github/workflows/ci-c-util.yml@v1
with:
cabuild_ref: "v1"
linux: true
m32: true
matrixmode: true
valgrind: true
ci-msvc:
name: CI with MSVC
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-latest]
steps:
- name: Fetch Sources
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
ci-macos:
name: MacOS CI
uses: bus1/cabuild/.github/workflows/ci-c-util.yml@v1
with:
python-version: '3.x'
- name: Install Python Dependencies
run: pip install meson ninja
- name: Prepare MSVC
uses: bus1/cabuild/action/msdevshell@v1
cabuild_ref: "v1"
linux: false
macos: true
ci-windows:
name: Windows CI
uses: bus1/cabuild/.github/workflows/ci-c-util.yml@v1
with:
architecture: x64
- name: Prepare Build
run: meson setup build
- name: Run Build
run: meson compile -v -C build
- name: Run Test Suite
run: meson test -v -C build
cabuild_ref: "v1"
linux: false
windows: true