Skip to content

Commit

Permalink
add Windows CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainOnly committed Jan 15, 2025
1 parent 291dd30 commit a804372
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI Build on Windows

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4

- name: Install Conan
run: |
python -m pip install conan
- name: Install libsigcc with Conan
run: conan install "libsigcpp/3.0.7" --build=missing

- name: Install expat with Conan
run: conan install "expat/2.6.2" --build=missing

- name: Install libuv with Conan
run: conan install "libuv/1.44.2" --build=missing

- name: Generate Build System
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release

- name: Build
run: cmake --build ${{github.workspace}}/build --config Release -DBUILD_TESTING=On -DENABLE_UV_SUPPORT=On

0 comments on commit a804372

Please sign in to comment.