Run tests and benchmarks in one job
All checks were successful
Chaos CI / build-and-test (push) Successful in 1m55s
All checks were successful
Chaos CI / build-and-test (push) Successful in 1m55s
This commit is contained in:
@@ -24,33 +24,19 @@ jobs:
|
|||||||
cmake ..
|
cmake ..
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
|
- name: Configure, build [Release]
|
||||||
|
run: |
|
||||||
|
mkdir build-release
|
||||||
|
cd build-release
|
||||||
|
cmake .. -D CMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build .
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
./ChaosTests/ChaosTests
|
./ChaosTests/ChaosTests
|
||||||
|
|
||||||
build-and-benchmark:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
|
|
||||||
- name: Install
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y build-essential cmake
|
|
||||||
|
|
||||||
- name: Configure, build
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake .. -D CMAKE_BUILD_TYPE=Release
|
|
||||||
cmake --build .
|
|
||||||
|
|
||||||
- name: Run benchmarks
|
- name: Run benchmarks
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build-release
|
||||||
./ChaosBenches/ChaosBenches
|
./ChaosBenches/ChaosBenches
|
||||||
Reference in New Issue
Block a user