Skip to content

CI : add CMake build on Windows, macOS, and Linux #105

CI : add CMake build on Windows, macOS, and Linux

CI : add CMake build on Windows, macOS, and Linux #105

Workflow file for this run

name: ubuntu
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: configure
run: cmake . -DCMAKE_COMPILE_WARNING_AS_ERROR=1 -DWITH_PGSQL=1
- name: Build
run: cmake --build .
- name: MySQL version
run: mysql_config --version
- name: Sysbench version
run: ./src/sysbench --version
- name: test
run: cmake --build . --target test