Skip to content

Fix build and clean up warnings #58

Fix build and clean up warnings

Fix build and clean up warnings #58

Workflow file for this run

on: [pull_request]
name: C++ Build PR
jobs:
cmake-build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {
name: "windows-latest msvc",
os: windows-latest,
cc: "cl", cxx: "cl",
}
- {
name: "ubuntu-latest gnu",
os: ubuntu-latest,
cc: "gcc", cxx: "g++",
}
- {
name: "ubuntu-latest clang",
os: ubuntu-latest,
cc: "clang", cxx: "clang++",
}
- {
name: "macos-latest clang",
os: macos-latest,
cc: "clang", cxx: "clang++"
}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: build and test
env:
CC: ${{ matrix.config.cc }}
CXX: ${{ matrix.config.cxx }}
RUN_TESTS: true
run: |
mkdir ./cmake-build-debug
cd cmake-build-debug
cmake ../
cmake --build . --target test_libczi_c++_extension
shell: bash