CMakeLists: add #63
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: CI | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt install -y ninja-build meson | |
- name: Configure | |
run: mkdir build; CC=clang CXX=clang++ meson -Dbuildtype=debugoptimized -Dwith_encode2=true build | |
- name: Build | |
run: ninja -v -C build | |
- name: Test | |
run: meson test -v -C build | |
build-linux-cmake: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt install -y ninja-build cmake | |
- name: Configure | |
run: CC=clang CXX=clang++ cmake -B build -G Ninja -DFADEC_ENCODE2=ON | |
- name: Build | |
run: cmake --build -v build | |
- name: Test | |
run: ctest build | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: pip install ninja meson | |
- name: Configure | |
run: mkdir build; meson setup --vsenv -Dbuildtype=debugoptimized -Dwith_encode2=true build | |
- name: Build | |
run: meson compile -v -C build | |
- name: Test | |
run: meson test -v -C build | |
build-windows-cmake: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure | |
run: CC=clang CXX=clang++ cmake -B build -DFADEC_ENCODE2=ON | |
- name: Build | |
run: cmake --build -v build | |
- name: Test | |
run: ctest build |