-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75742bc
commit bfec1ca
Showing
4 changed files
with
43 additions
and
63 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 |
---|---|---|
@@ -1,22 +1,17 @@ | ||
name: benchmark & examples | ||
on: [push, pull_request] | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt install g++ | ||
- name: Setup | ||
run: | | ||
mkdir _build | ||
cd _build && cmake .. -DBUILD_BENCHMARK=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release | ||
- name: Build | ||
run: cmake --build _build | ||
- name: Testing sequential | ||
run: cmake --build _build --target xbenchmark | ||
|
||
name : benchmark& examples | ||
on : [ push, pull_request ] concurrency : group : $ { { github.workflow } } | ||
- $ { { github.job } } | ||
- $ | ||
{ | ||
{ | ||
github.ref | ||
} | ||
} | ||
cancel - in - progress : true jobs : build : runs - on : ubuntu - latest steps : -uses : actions / checkout @v3 | ||
- name : Install dependencies | ||
run : | sudo apt install g++ - name : Setup run : | mkdir _build cd _build&& cmake..- DBUILD_BENCHMARK | ||
= ON - DBUILD_EXAMPLES = ON - DCMAKE_BUILD_TYPE = Release | ||
- name : Build | ||
run : cmake-- build _build | ||
- name : Testing sequential | ||
run : cmake-- build _build-- target xbenchmark |
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,17 +1,6 @@ | ||
name: C++ -fno-except compatibility | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt install g++ | ||
- name: Setup | ||
run: | | ||
mkdir _build | ||
cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-fno-exceptions | ||
- name: Build | ||
run: cmake --build _build | ||
|
||
name : C++ - fno - except compatibility on : [ push, pull_request ] jobs : build : runs - on : ubuntu - latest steps : -uses : actions / checkout @v3 | ||
- name : Install dependencies | ||
run : | sudo apt install g++ - name : Setup run : | mkdir _build cd _build&& cmake..- DBUILD_TESTS | ||
= ON - DDOWNLOAD_DOCTEST = ON - DCMAKE_BUILD_TYPE = Release - DCMAKE_CXX_FLAGS = -fno - exceptions | ||
- 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 |
---|---|---|
@@ -1,23 +1,15 @@ | ||
name: C++ compatibility build | ||
on: [push, pull_request] | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
cxx-version: [11, 14, 17, 20] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt install g++ | ||
- name: Setup | ||
run: | | ||
mkdir _build | ||
cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=${{matrix.cxx-version}} | ||
- name: Build | ||
run: cmake --build _build | ||
|
||
name : C++ compatibility build | ||
on : [ push, pull_request ] concurrency : group : $ { { github.workflow } } | ||
- $ { { github.job } } | ||
- $ | ||
{ | ||
{ | ||
github.ref | ||
} | ||
} | ||
cancel - in - progress : true jobs : build : runs - on : ubuntu - latest strategy : matrix : cxx - version : [ 11, 14, 17, 20 ] steps : -uses : actions / checkout @v3 | ||
- name : Install dependencies | ||
run : | sudo apt install g++ - name : Setup run : | mkdir _build cd _build&& cmake..- DBUILD_TESTS | ||
= ON - DDOWNLOAD_DOCTEST = ON - DCMAKE_BUILD_TYPE = Release - DCMAKE_CXX_STANDARD = $ { { matrix.cxx - version } } | ||
- 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