Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

# - uses: actions/cache@v3
# - uses: actions/cache@v4
# with:
# path: "**/cpm_modules"
# key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
Expand Down Expand Up @@ -54,5 +54,4 @@ jobs:
- name: test
run: |
source ~/emsdk/emsdk_env.sh
cd build
ctest --build-config Debug -j4 --verbose
ctest --test-dir build --build-config Debug -j4 --verbose
8 changes: 3 additions & 5 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
Expand All @@ -44,6 +44,4 @@ jobs:
run: cmake --build build --config Debug -j4 --verbose

- name: test
run: |
cd build
ctest --build-config Debug -j4 --verbose
run: ctest --test-dir build --build-config Debug -j4 --verbose
8 changes: 3 additions & 5 deletions .github/workflows/install_download_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
Expand All @@ -44,6 +44,4 @@ jobs:
run: cmake --build build --config Debug -j4 --verbose

- name: test
run: |
cd build
ctest --build-config Debug -j4 --verbose
run: ctest --test-dir build --build-config Debug -j4 --verbose
8 changes: 3 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
Expand All @@ -35,6 +35,4 @@ jobs:
run: cmake --build build -j4 --verbose

- name: test
run: |
cd build
ctest --build-config Debug -j4 --verbose
run: ctest --test-dir build --build-config Debug -j4 --verbose
23 changes: 11 additions & 12 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,38 @@ jobs:
build:
runs-on: macos-latest

strategy:
matrix:
cxx: [clang++, g++-15]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}

- name: Install ninja and python
shell: bash
run: brew install llvm clang-format ninja python pipx
- name: Install python
run: brew install llvm clang-format python pipx

- name: Install builddriver
shell: bash
run:
pipx install builddriver cmake_format==0.6.11 pyaml

- name: configure
shell: bash
run: |
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBOOST_UT_ENABLE_RUN_AFTER_BUILD=NO \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON --log-level=DEBUG -DFETCHCONTENT_QUIET=OFF
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON --log-level=DEBUG -DFETCHCONTENT_QUIET=OFF -DCMAKE_CXX_COMPILER=${{matrix.cxx}}

- name: build
run: cmake --build build -j4 --verbose

- name: test
shell: bash
run: |
cd build
ctest --build-config Debug -j4 --verbose
run: ctest --test-dir build --build-config Debug -j4 --verbose

- name: Run clang-tidy
if: matrix.cc == 'clang'
shell: bash
run: |
export PATH=$(brew --prefix llvm)/bin:${PATH}
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
std: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
Expand All @@ -39,6 +39,4 @@ jobs:
run: cmake --build build --config Debug -j4 --verbose

- name: test
run: |
cd build
ctest --build-config Debug -j4 --verbose
run: ctest --test-dir build --build-config Debug -j4 --verbose
8 changes: 3 additions & 5 deletions .github/workflows/windows_shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
std: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
Expand All @@ -39,6 +39,4 @@ jobs:
run: cmake --build build --config Debug -j4 --verbose

- name: test
run: |
cd build
ctest --build-config Debug -j4 --verbose
run: ctest --test-dir build --build-config Debug -j4 --verbose
Loading