Skip to content

Commit

Permalink
Merge pull request #301 from JohanMabille/win_ci
Browse files Browse the repository at this point in the history
Enabling CI on Windows
  • Loading branch information
JohanMabille authored Jan 29, 2024
2 parents c0915c3 + 0632752 commit 1b9a159
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Windows
on:
#workflow_dispatch:
#pull_request:
#push:
# branches: [master]
workflow_dispatch:
pull_request:
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
3 changes: 3 additions & 0 deletions test/test_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@ namespace xt
{
EXPECT_TRUE(std::equal(vec.shape().cbegin(), vec.shape().cend(), result.shape().cbegin()));
EXPECT_TRUE(std::equal(vec.strides().cbegin(), vec.strides().cend(), result.strides().cbegin()));
// TODO: check why this does not build on modern MSVC compilers
#ifndef WIN32
EXPECT_TRUE(std::equal(vec.backstrides().cbegin(), vec.backstrides().cend(), result.backstrides().cbegin()));
#endif
EXPECT_EQ(vec.size(), result.size());
if (compare_layout)
{
Expand Down

0 comments on commit 1b9a159

Please sign in to comment.