-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate Travis-CI and AppVeyor, for now.
- Loading branch information
1 parent
2e15443
commit 4b1f168
Showing
11 changed files
with
136 additions
and
193 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: macOS | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
|
||
- name: Setup | ||
run: | | ||
brew install ninja ccache | ||
- name: Restore artifacts, or setup vcpkg | ||
uses: lukka/run-vcpkg@v10 | ||
with: | ||
vcpkgGitCommitId: bd602277bf7fc3188b3d086b302c6840464db900 | ||
|
||
- name: Install vcpkg packages and configure CMake | ||
shell: bash | ||
run: | | ||
vcpkg install --feature-flags=manifests | ||
cmake -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo -S . -B build | ||
- name: Build | ||
run: cmake --build build |
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,31 @@ | ||
name: Windows | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
|
||
- name: Setup Clang | ||
uses: egor-tensin/setup-clang@v1 | ||
with: | ||
version: 13 | ||
platform: x64 | ||
|
||
- name: Restore artifacts, or setup vcpkg | ||
uses: lukka/run-vcpkg@v10 | ||
with: | ||
vcpkgGitCommitId: bd602277bf7fc3188b3d086b302c6840464db900 | ||
|
||
- name: Install vcpkg packages and configure CMake | ||
run: | | ||
vcpkg install --feature-flags=manifests | ||
cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo -S . -B build | ||
- name: Build | ||
run: cmake --build build |
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 |
---|---|---|
|
@@ -30,6 +30,7 @@ | |
build/* | ||
xcode/* | ||
cmake-build-debug/* | ||
vcpkg_installed/* | ||
|
||
# MacOS cruft | ||
*.DS_Store | ||
|
This file was deleted.
Oops, something went wrong.
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,7 +1,8 @@ | ||
#!/usr/bin/env bash | ||
spack load boost | ||
spack load catch2 | ||
|
||
cd .. | ||
rm -rf build/ | ||
cmake -D CMAKE_BUILD_TYPE=Release -S . -B build | ||
cmake --build build | ||
cmake -G Ninja -D CMAKE_BUILD_TYPE=Release -S . -B build | ||
cmake --build build | ||
cd build || exit | ||
ctest --output-on-failure -j2 |
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,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Before running this script, make sure $VCPKG_ROOT is set, e.g. | ||
# VCPKG_ROOT="$HOME"/vcpkg && export VCPKG_ROOT | ||
|
||
cd .. | ||
rm -rf build/ | ||
cmake -S . -B build -G Ninja -D ENABLE_CLANG_TIDY=ON | ||
cmake --build build |
Oops, something went wrong.