Skip to content

Commit

Permalink
CI: Enable tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Feb 9, 2024
1 parent cf56017 commit a978f57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
# - os: { name: macOS-13-xlarge, arch: arm64-apple-darwin }
# target: { name: clang-15, compiler: clang, cxx-version: 15.0.1 }
# dc: ldc-latest
- os: { name: windows-latest }
dc: ldc-latest

# Using a specific version for reproductibility.
# Feel free to update when a new release has matured.
Expand Down
9 changes: 7 additions & 2 deletions dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@
"lflags-posix": [ "-lstdc++" ],
"lflags-linux": [ "--export-dynamic" ],
"lflags-osx": [ "-export_dynamic" ],
"preGenerateCommands": [
"preGenerateCommands-posix": [
"$PACKAGE_DIR/extras/cxx-wrapper.sh vector",
"$PACKAGE_DIR/extras/cxx-wrapper.sh list"
],
"sourceFiles": [ "extras/*.o" ]
"preGenerateCommands-windows": [
"cl /c /Fo: $PACKAGE_DIR/extras/ $PACKAGE_DIR/extras/vector.cpp",
"cl /c /Fo: $PACKAGE_DIR/extras/ $PACKAGE_DIR/extras/list.cpp",
],
"sourceFiles-posix": [ "extras/*.o" ],
"sourceFiles-windows": [ "extras/*.obj" ]
}
]
}

0 comments on commit a978f57

Please sign in to comment.