Skip to content

Update ci.yml

Update ci.yml #11

Workflow file for this run

name: Windows-CI
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: Windows
os: windows-latest
- name: Linux
os: ubuntu-latest
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
steps:
- name: checkout
uses: actions/checkout@v3
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgJsonGlob: "**/vcpkg.json"
vcpkgDirectory: "${{ github.workspace }}/vcpkg"
vcpkgGitCommitId: "fba75d09065fcc76a25dcf386b1d00d33f5175af"
- name: Install simdjson
run: |
$VCPKG_ROOT/vcpkg install simdjson:x64-windows
shell: bash
- name: Configure
run: cmake -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -B build
- name: Build
run: cmake --build build --verbose