Skip to content

Commit

Permalink
Testing new cache-clearing implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
RealTimeChris committed Feb 9, 2025
1 parent 43d8979 commit 3bd6cb9
Show file tree
Hide file tree
Showing 24 changed files with 2,545 additions and 1,910 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/CLANG-MacOS-XCode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- dev
- '*'

jobs:
Build:
Expand All @@ -26,7 +25,7 @@ jobs:
- name: Configure CMake.
run: |
sudo cmake -S . -B ./Build -G Xcode -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++ -DBENCH_TYPE=BENCHMARK
sudo cmake -S . -B ./Build -G Xcode -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++ -DBENCH_TYPE=BENCHMARK -DGENERATE_ASSEMBLY=TRUE
- name: Build the Test
run: |
Expand All @@ -43,7 +42,7 @@ jobs:
- name: Run the Test
run: |
sudo chmod +x /usr/local/Tests/${{matrix.build_type}}/BenchmarkExe
sudo /usr/local/Tests/${{matrix.build_type}}/BenchmarkExe
sudo chmod +x /usr/local/bin/BenchmarkExe
sudo /usr/local/bin/BenchmarkExe
continue-on-error: true

9 changes: 4 additions & 5 deletions .github/workflows/CLANG-MacOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- dev
- '*'

jobs:
Build:
Expand All @@ -25,7 +24,7 @@ jobs:
- name: Configure CMake.
run: |
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++ -DBENCH_TYPE=BENCHMARK
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++ -DBENCH_TYPE=BENCHMARK -DGENERATE_ASSEMBLY=TRUE
- name: Build the Test
run: |
Expand All @@ -42,7 +41,7 @@ jobs:
- name: Run the Test
run: |
sudo chmod +x /usr/local/Tests/${{matrix.build_type}}/BenchmarkExe
sudo /usr/local/Tests/${{matrix.build_type}}/BenchmarkExe
sudo chmod +x /usr/local/bin/BenchmarkExe
sudo /usr/local/bin/BenchmarkExe
continue-on-error: true

8 changes: 4 additions & 4 deletions .github/workflows/CLANG-Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- '*'

jobs:
Build:
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Configure CMake
run: |
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/clang++-20 -DBENCH_TYPE=BENCHMARK
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/clang++-20 -DBENCH_TYPE=BENCHMARK -DGENERATE_ASSEMBLY=TRUE
- name: Build the Test
run: |
Expand All @@ -44,6 +44,6 @@ jobs:
- name: Run the Test
run: |
sudo chmod +x /usr/local/Tests/${{matrix.build_type}}/BenchmarkExe
sudo /usr/local/Tests/${{matrix.build_type}}/BenchmarkExe
sudo chmod +x /usr/local/bin/BenchmarkExe
sudo /usr/local/bin/BenchmarkExe
continue-on-error: true
10 changes: 5 additions & 5 deletions .github/workflows/GCC-Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- '*'

jobs:
Build:
Expand All @@ -22,11 +22,11 @@ jobs:
run: |
sudo apt update && sudo apt upgrade
sudo apt-get install build-essential
sudo apt-get install g++-12
sudo apt-get install g++-14
- name: Configure CMake
run: |
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/g++-12 -DBENCH_TYPE=BENCHMARK
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/g++-12 -DBENCH_TYPE=BENCHMARK -DGENERATE_ASSEMBLY=TRUE
- name: Build the Test
run: |
Expand All @@ -43,6 +43,6 @@ jobs:
- name: Run the Test
run: |
sudo chmod +x /usr/local/Tests/${{matrix.build_type}}/BenchmarkExe
sudo /usr/local/Tests/${{matrix.build_type}}/BenchmarkExe
sudo chmod +x /usr/local/bin/BenchmarkExe
sudo /usr/local/bin/BenchmarkExe
continue-on-error: true
7 changes: 3 additions & 4 deletions .github/workflows/MSVC-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- dev
- '*'

jobs:
Build:
Expand All @@ -27,7 +26,7 @@ jobs:

- name: Configure CMake
run: |
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBENCH_TYPE=BENCHMARK
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBENCH_TYPE=BENCHMARK -DGENERATE_ASSEMBLY=TRUE
- name: Build the Test
run: |
Expand All @@ -38,7 +37,7 @@ jobs:
cmake --install ./Build --config=${{matrix.build_type}}
- name: Run the Test
working-directory: C:/Program Files (x86)/BenchmarkSuite/Tests/${{matrix.build_type}}/
working-directory: "C:/Program Files (x86)/BenchmarkSuite/bin/"
run: |
./BenchmarkExe.exe
continue-on-error: true
Expand Down
1,276 changes: 638 additions & 638 deletions Assembly/main.cod

Large diffs are not rendered by default.

Loading

0 comments on commit 3bd6cb9

Please sign in to comment.