Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmcfarlane committed Nov 9, 2021
1 parent 3061464 commit 5627db2
Show file tree
Hide file tree
Showing 45 changed files with 212 additions and 2,967 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
# Build and test many combinations on Linux/OS X using Conan
posix-conan-test:
strategy:
fail-fast: false
matrix:
name: [clang-head-analyse, gcc-head, clang-13, clang-12, clang-11, clang-10, gcc-11, gcc-10, osx-clang-13, osx-gcc-11, gcc-10-armv7]
include:
Expand Down Expand Up @@ -240,6 +241,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: 'true'

- name: Restore caches
uses: actions/cache@v2
Expand Down Expand Up @@ -302,6 +305,7 @@ jobs:
windows-conan-test:
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
arch: [x86_64, x86]
include:
Expand All @@ -316,6 +320,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: 'true'

- name: Restore caches
uses: actions/cache@v2
Expand Down Expand Up @@ -366,6 +372,7 @@ jobs:
# Build and test latest on Linux using only CMake
linux-cmake-test:
strategy:
fail-fast: false
matrix:
compiler: [clang-13-libcpp, gcc-11]

Expand All @@ -384,6 +391,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: 'true'

- name: Restore caches
uses: actions/cache@v2
Expand Down Expand Up @@ -428,6 +437,8 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'

- name: Configure CNL
run: cmake $GITHUB_WORKSPACE
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "external/wide-integer"]
path = external/wide-integer
url = https://github.com/johnmcfarlane/wide-integer.git
branch = main
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ target_include_directories(
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)

add_subdirectory("external/wide-integer")
target_link_libraries(Cnl INTERFACE WideInteger)

install(TARGETS Cnl EXPORT CnlTargets)
install(DIRECTORY include/ DESTINATION include)
install(EXPORT CnlTargets
Expand Down
1 change: 1 addition & 0 deletions external/wide-integer
Submodule wide-integer added at 9ed4da
2 changes: 1 addition & 1 deletion include/cnl/_impl/charconv/to_chars.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ namespace cnl {
}
}

// partial implementation of std::to_chars overloaded on cnl::duplex_integer
// partial implementation of std::to_chars overloaded on cnl::integer
template<integer Integer>
[[nodiscard]] constexpr auto to_chars(
char* const first,
Expand Down
34 changes: 0 additions & 34 deletions include/cnl/_impl/duplex_integer.h

This file was deleted.

44 changes: 0 additions & 44 deletions include/cnl/_impl/duplex_integer/comparison.h

This file was deleted.

81 changes: 0 additions & 81 deletions include/cnl/_impl/duplex_integer/ctors.h

This file was deleted.

30 changes: 0 additions & 30 deletions include/cnl/_impl/duplex_integer/declaration.h

This file was deleted.

110 changes: 0 additions & 110 deletions include/cnl/_impl/duplex_integer/definition.h

This file was deleted.

Loading

0 comments on commit 5627db2

Please sign in to comment.