Skip to content

Commit

Permalink
perf: optimize APIs to support more types of parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtsHsu committed Feb 4, 2024
1 parent 0c2cc9b commit 4939b73
Show file tree
Hide file tree
Showing 5 changed files with 358 additions and 146 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,18 @@ jobs:
sudo apt update
sudo apt install cargo
cargo install just
- name: Install GCC 12
run: |
sudo apt update
sudo apt install gcc-12 g++-12
- name: Install Clang 14
run: |
sudo apt update
sudo apt install llvm-14 libstdc++-12-dev
- uses: actions/checkout@v4
- name: Build and Run tests
- name: Build and Run Tests with GCC 12
run: |
just t g++12
- name: Build and Run Test with Clang 14
run: |
just t
just t clang++14
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ static_assert(newmsg == "HELL WORD?"_cs);
Check the [document](https://conststr.docs.nihil.cc/) or [tests](https://github.com/NichtsHsu/conststr/tree/master/tests) to learn more.
All [tests](https://github.com/NichtsHsu/conststr/tree/master/tests) pass under GCC-12, clang-16 and MSVC(newest).
All [tests](https://github.com/NichtsHsu/conststr/tree/master/tests) passed under GCC-12, clang-14 and MSVC(newest). Maybe lower versions can also pass the tests, but I haven't tested them and will never guarantee compatibility.
Loading

0 comments on commit 4939b73

Please sign in to comment.