Update cpp.yml
This commit is contained in:
@@ -9,15 +9,14 @@ jobs:
|
||||
steps:
|
||||
- name: Clone source
|
||||
run: git clone --recursive https://github.com/uNetworking/uWebSockets.git
|
||||
- name: Install Deno
|
||||
run: iwr https://deno.land/x/install/install.ps1 -useb | iex
|
||||
- name: Install libuv
|
||||
run: vcpkg install libuv:x64-windows
|
||||
run: |
|
||||
vcpkg install libuv:x64-windows
|
||||
cp C:\vcpkg\installed\x64-windows\bin\uv.dll uWebSockets\uv.dll
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Build examples
|
||||
run: |
|
||||
cd uWebSockets
|
||||
cp C:\vcpkg\installed\x64-windows\bin\uv.dll uv.dll
|
||||
$Env:CFLAGS='-D WIN32_LEAN_AND_MEAN -I C:/vcpkg/packages/libuv_x64-windows/include'
|
||||
$Env:LDFLAGS='-L C:/vcpkg/packages/libuv_x64-windows/lib'
|
||||
$Env:CC='clang'
|
||||
@@ -34,6 +33,7 @@ jobs:
|
||||
- name: Run smoke test
|
||||
run: |
|
||||
cd uWebSockets
|
||||
iwr https://deno.land/x/install/install.ps1 -useb | iex
|
||||
Start-Process -NoNewWindow .\Crc32
|
||||
sleep 1
|
||||
deno run --allow-net tests\smoke.mjs
|
||||
|
||||
Reference in New Issue
Block a user