From 2234492f81f4d13c1094ecc178fb4045da06e2fa Mon Sep 17 00:00:00 2001 From: Sandro Kalatozishvili Date: Mon, 16 Sep 2024 03:22:47 +0400 Subject: [PATCH] Added Windows pipeline --- .github/workflows/windows.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..d551f73 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,32 @@ +name: Windows + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install CMake + run: choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' --no-progress + + - name: Install dependencies + run: choco install openssl --no-progress + + - name: Check versions + run: | + gcc --version + cmake --version + + - name: Build with CMake + run: | + mkdir build + cd build + cmake .. + cmake --build .