Skip to content

Bump pypa/cibuildwheel from 2.13.0 to 2.14.1 #289

Bump pypa/cibuildwheel from 2.13.0 to 2.14.1

Bump pypa/cibuildwheel from 2.13.0 to 2.14.1 #289

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
BUILD_TYPE: Release
HAMMING_WITH_AVX2: OFF
HAMMING_WITH_AVX512: OFF
HAMMING_WITH_OPENMP: OFF
jobs:
build-and-test:
name: Testing on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: enable openmp on linux
run: echo "HAMMING_WITH_OPENMP=ON" >> $GITHUB_ENV
if: runner.os == 'Linux'
- name: make build directory
run: cmake -E make_directory ${{runner.workspace}}/build
- name: configure cmake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTING=ON -DHAMMING_BUILD_BENCHMARKS=ON -DHAMMING_WITH_SSE2=ON -DHAMMING_WITH_AVX2=$HAMMING_WITH_AVX2 -DHAMMING_WITH_AVX512=$HAMMING_WITH_AVX512 -DHAMMING_BUILD_PYTHON=ON -DHAMMING_WITH_OPENMP=$HAMMING_WITH_OPENMP
- name: build
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake --build .
- name: run tests
shell: bash
working-directory: ${{runner.workspace}}/build
run: ctest