-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port AppVeyor CI tests to GitHub Actions
- Loading branch information
1 parent
6c98518
commit 0558f6d
Showing
4 changed files
with
169 additions
and
248 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,51 @@ | ||
# These tests benchmark the current code against the previous release | ||
# using both the GCC and Clang compilers. If the new code runs slower | ||
# than the previous release then the tests fail. This helps to detect | ||
# performance regressions. | ||
|
||
name: benchmark | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- backup3 | ||
- gh-pages | ||
pull_request: | ||
branches-ignore: | ||
- backup3 | ||
- gh-pages | ||
|
||
jobs: | ||
linux_gcc_performance_test: | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: gcc | ||
CXX: g++ | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
# Fetch all commits & tags | ||
fetch-depth: 0 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install bc | ||
- name: Benchmark latest code vs. previous release | ||
run: scripts/./benchmark-vs-prev-release.sh | ||
|
||
linux_clang_performance_test: | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: clang | ||
CXX: clang++ | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
# Fetch all commits & tags | ||
fetch-depth: 0 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install bc libomp-dev | ||
- name: Benchmark latest code vs. previous release | ||
run: scripts/./benchmark-vs-prev-release.sh |
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
Oops, something went wrong.