-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 903 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
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: "d0d081b3fc3680ce8ced2a88f9a7784884b679da"
- name: Install simdutf
run: |
$VCPKG_ROOT/vcpkg install simdutf: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