-
Notifications
You must be signed in to change notification settings - Fork 3
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
8c7da38
commit 310bf22
Showing
1 changed file
with
32 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,32 @@ | ||
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform. | ||
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml | ||
name: CMake on multiple platforms | ||
|
||
on: | ||
pull_request_target: | ||
branches: [ "master", "dev" ] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout code | ||
- uses: actions/checkout@v4 | ||
|
||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 'latest' | ||
- name: Install Dependencies | ||
run: | | ||
pip install conan | ||
conan install . --build missing --settings compiler.cppstd=20 --settings build_type=Release | ||
- name: Building the projet | ||
run: | | ||
./dev.py clean build -b Release | ||
- name: Run Tests | ||
run: | | ||
./dev.py pytest -b Release |