Rename ChaosCI.yaml --> ChaosCi.yaml to match the project's abbreviation style
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 2m1s
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 2m1s
This commit is contained in:
36
.gitea/workflows/ChaosCi.yaml
Normal file
36
.gitea/workflows/ChaosCi.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
name: Chaos Ci
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test-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 and build [Debug]
|
||||
run: |
|
||||
mkdir build-debug
|
||||
cmake -S . -B build-debug/ -D CMAKE_BUILD_TYPE=Debug
|
||||
cmake --build build-debug/
|
||||
|
||||
- name: Configure and build [Release]
|
||||
run: |
|
||||
mkdir build-release
|
||||
cmake -S . -B build-release/ -D CMAKE_BUILD_TYPE=Release
|
||||
cmake --build build-release/
|
||||
|
||||
- name: Run tests
|
||||
run: ./build-debug/ChaosTests/ChaosTests
|
||||
|
||||
- name: Run benchmarks
|
||||
run: ./build-release/ChaosBenches/ChaosBenches
|
||||
Reference in New Issue
Block a user