Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/windows-cmake-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI/CD

on: [push, pull_request]

jobs:
compile:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
uses: actions/checkout@v2
uses: actions/checkout@v4


- name: Install dependencies
run: |
choco install -y make gcc gcc-c++ qt5-win64-vs2017

- name: Setup CMake
uses: actions/setup-cmake@v1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
uses: actions/setup-cmake@v1
uses: actions/setup-cmake@v2

with:
cmake-version: '3.16.4'

- name: Compile
run: |
mkdir build
cd build
cmake ..
cmake --build .
cmake --install .
Comment on lines +24 to +28
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mkdir build
cd build
cmake ..
cmake --build .
cmake --install .
cmake -B build
cmake --build build
cmake --install build