Skip to content

Commit

Permalink
Fix tests for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rHermes committed Jun 8, 2024
1 parent dc5d1f8 commit 0cdf604
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
build_type: [Release, Debug, RelWithDebInfo]
cpp_compiler: [g++-13, clang++-15, cl]
cpp_compiler: [g++-14, clang++-16, cl]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
- os: ubuntu-latest
c_compiler: gcc-13
cpp_compiler: g++-13
c_compiler: gcc-14
cpp_compiler: g++-14
- os: ubuntu-latest
c_compiler: clang-15
cpp_compiler: clang++-15
c_compiler: clang-16
cpp_compiler: clang++-16
exclude:
- os: windows-latest
cpp_compiler: g++-13
cpp_compiler: g++-14
- os: windows-latest
cpp_compiler: clang++-15
cpp_compiler: clang++-16
- os: ubuntu-latest
cpp_compiler: cl

Expand Down
5 changes: 4 additions & 1 deletion tests/fast_pimpl_test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ struct FastPimplTestImpl;
class FastPimplTest
{
private:
#ifdef _WIN32
hage::ForwardDeclaredStorage<details::FastPimplTestImpl, 48, 8> m_impl;
#else
hage::ForwardDeclaredStorage<details::FastPimplTestImpl, 40, 8> m_impl;

#endif
public:
FastPimplTest();
~FastPimplTest();
Expand Down

0 comments on commit 0cdf604

Please sign in to comment.