Add sort direction, fixup readme #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-push | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: init | |
run: | | |
sudo apt update -yqq && sudo apt install -yqq ninja-build gcc-14 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100 | |
- name: configure gcc | |
run: cmake -S . --preset=default -B build | |
- name: configure clang | |
run: cmake -S . --preset=ninja-clang -B clang | |
- name: build gcc debug | |
run: cmake --build build --config=Debug | |
- name: build gcc release | |
run: cmake --build build --config=Release | |
- name: build clang debug | |
run: cmake --build clang --config=Debug | |
- name: build clang release | |
run: cmake --build clang --config=Release | |
- name: test gcc debug | |
run: cd build && ctest -C Debug | |
- name: test gcc release | |
run: cd build && ctest -C Release | |
- name: test clang debug | |
run: cd clang && ctest -C Debug | |
- name: test clang release | |
run: cd clang && ctest -C Release | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: configure | |
run: cmake -S . --preset=vs22 -B build | |
- name: build debug | |
run: cmake --build build --config=Debug | |
- name: build release | |
run: cmake --build build --config=Release | |
- name: test debug | |
run: cd build && ctest -C Debug | |
- name: test release | |
run: cd build && ctest -C Release |