Skip to content

Exports all library symbols for Windows #76

Exports all library symbols for Windows

Exports all library symbols for Windows #76

Workflow file for this run

name: Test Windows
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
# Set fail-fast to false to ensure that feedback is delivered for all
# matrix combinations. Consider changing this to true when your workflow
# is stable.
fail-fast: false
matrix:
os: [windows-latest]
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: false
environment-file: environment.yml
activate-environment: ll-cpp
miniforge-version: latest
use-mamba: true
channels: conda-forge
- name: Install RapidCheck
shell: bash -el {0}
env:
RAPIDCHECK_GIT_SHA: ff6af6fc683159deb51c543b065eba14dfcf329b
run: |
git clone --single-branch --branch master https://github.com/emil-e/rapidcheck.git ~/rapidcheck
pushd ~/rapidcheck
git checkout $RAPIDCHECK_GIT_SHA
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
cmake --build build --config ${{ matrix.build_type }}
cmake --install build --config ${{ matrix.build_type }}
popd
- name: Configure CMake
shell: bash -el {0}
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DBUILD_TESTS=ON
- name: Build
shell: bash -el {0}
run: cmake --build build --config ${{ matrix.build_type }}
- name: Test
shell: bash -el {0}
run: ./build/test/test-liblevenshtein