From 310bf22b474852a27d3d8a5f04025e02468ede3b Mon Sep 17 00:00:00 2001 From: Arthur Courselle <98744458+ArthurCourselle@users.noreply.github.com> Date: Mon, 30 Sep 2024 11:57:16 +0200 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..3f54e0314 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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