Skip to content

Update compile.yml

Update compile.yml #3

Workflow file for this run

name: compile
on: [push]
jobs:
compile-windows:
runs-on: windows-latest
steps:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
- run: git clone https://github.com/Microsoft/vcpkg.git
- run: .\\vcpkg\\bootstrap-vcpkg.bat
- run: .\\vcpkg\\vcpkg integrate install
- run: .\\vcpkg\\vcpkg install
- run: mkdir build
- run: cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
- run: cmake --build build/
- run: echo ""