Skip to content

Merge pull request #1 from veritone/fix_word_indices #2

Merge pull request #1 from veritone/fix_word_indices

Merge pull request #1 from veritone/fix_word_indices #2

Workflow file for this run

name: Windows
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
name: "build: ${{ matrix.arch }} ${{ matrix.config }} ${{ matrix.link }}"
strategy:
fail-fast: false
matrix:
arch: [Win32, x64]
config: [Debug, Release]
link: [static, dll]
include:
- link: static
shlib: "OFF"
- link: dll
shlib: "ON"
steps:
- uses: actions/checkout@v3
- name: configure
run: cmake -Bbuild -DUSE_ASYNC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shlib }} -A ${{ matrix.arch }}
- name: make
run: cmake --build build --config ${{ matrix.config }}
- name: make check
run: ctest --test-dir build -Ttest -C ${{ matrix.config }} -j8 --output-on-failure