-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from pageldev/ci/setup-ci-pipeline
ci/setup ci pipeline
- Loading branch information
Showing
5 changed files
with
54 additions
and
5 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,41 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build-linux: | ||
name: ubuntu-22.04-release | ||
runs-on: ubuntu-22.04 | ||
defaults: | ||
run: | ||
shell: bash -e -o pipefail {0} | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
- name: check format | ||
run: ./format-files.sh check | ||
- name: configure | ||
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release | ||
- name: build | ||
run: cmake --build build | ||
- name: test | ||
run: ctest --test-dir build --output-on-failure | ||
- name: install | ||
run: sudo cmake --install build | ||
build-windows: | ||
name: windows-2022-release | ||
runs-on: windows-2022 | ||
defaults: | ||
run: | ||
shell: C:\msys64\usr\bin\bash.exe {0} | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
- name: configure | ||
run: cmake -S . -B build -G "Visual Studio 17 2022" | ||
- name: build | ||
run: cmake --build build --config Release | ||
- name: test | ||
run: ctest --test-dir build --output-on-failure | ||
- name: install | ||
run: cmake --install build --config Release |
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
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
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#pragma once | ||
#define _USE_MATH_DEFINES | ||
#include <algorithm> | ||
#include <array> | ||
#include <cmath> | ||
|
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