forked from dbus-cxx/dbus-cxx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
291dd30
commit 47bfa60
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
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 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Conan | ||
run: python -m pip install conan | ||
|
||
- name: Detect Conan Default Profile | ||
run: conan profile detect | ||
|
||
- name: Install libsigcc with Conan | ||
run: conan install --requires="libsigcpp/3.0.7" --build=missing --output-folder=build -pr default -pr .github/workflows/profile | ||
|
||
- name: Install expat with Conan | ||
run: conan install --requires="expat/2.6.2" --build=missing --output-folder=build -pr default -pr .github/workflows/profile | ||
|
||
- name: Install libuv with Conan | ||
run: conan install --requires="libuv/1.44.2" --build=missing --output-folder=build -pr default -pr .github/workflows/profile | ||
|
||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[settings] | ||
compiler.cppstd=17 |