Skip to content

Commit a2cb47b

Browse files
committed
Merge branch 'main' into killAgents
2 parents 13497b6 + 4d47642 commit a2cb47b

File tree

138 files changed

+46753
-43347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+46753
-43347
lines changed

.github/workflows/benchmark.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "CI: Benchmark Release"
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
benchmark_release:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: |
19+
sudo apt update
20+
sudo apt install -y build-essential cmake libhwloc-dev
21+
22+
- name: Build in Release mode with benchmarks
23+
working-directory: ${{ github.workspace }}
24+
run: |
25+
mkdir -p build
26+
cd build
27+
cmake .. -DCMAKE_BUILD_TYPE=Release -DDSF_BENCHMARKS=ON -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install
28+
cmake --build . -j$(nproc) --config Release
29+
30+
- name: Run benchmarks
31+
working-directory: ${{ github.workspace }}/benchmark
32+
run: |
33+
for bench in *.out; do
34+
echo "Running $bench"
35+
./$bench
36+
done

.github/workflows/cmake_examples.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,28 @@ jobs:
2323
run: |
2424
if [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
2525
sudo apt update
26-
sudo apt install libtbb-dev libspdlog-dev libsimdjson-dev binutils
26+
sudo apt install libtbb-dev libsimdjson-dev binutils
2727
elif [ ${{ matrix.os }} == 'macos-latest' ]; then
28-
brew install tbb spdlog simdjson
28+
brew install tbb simdjson
2929
fi
3030
3131
- uses: actions/checkout@v4
3232

33-
- name: Configure CMake
34-
working-directory: ${{github.workspace}}/examples
35-
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
36-
37-
- name: Build
38-
working-directory: ${{github.workspace}}/examples
39-
run: cmake --build build
33+
- name: Build DSF with examples and install
34+
working-directory: ${{github.workspace}}
35+
run: |
36+
cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DDSF_EXAMPLES=ON
37+
cmake --build build -j$(nproc)
38+
sudo cmake --install build
4039
4140
- name: Stalingrado
4241
working-directory: ${{github.workspace}}/examples
43-
run: make stalingrado
42+
run: ./stalingrado.out
4443

4544
- name: Slow Charge TL
4645
working-directory: ${{github.workspace}}/examples
47-
run: make slow_charge_tl
46+
run: ./slow_charge_tl.out 69 0.3 ./sctl 0 450
4847

4948
- name: Slow Charge RB
5049
working-directory: ${{github.workspace}}/examples
51-
run: make slow_charge_rb
50+
run: ./slow_charge_rb.out 69 0.3 ./scrb/ 900

.github/workflows/cmake_install.yml

Lines changed: 0 additions & 213 deletions
This file was deleted.

0 commit comments

Comments
 (0)