Skip to content

Commit

Permalink
Delete unittest CI step
Browse files Browse the repository at this point in the history
- There are no unittests in the source files, so this was meaningless.

- It would be meaningful to perform a syntax check here.
  `dub build --build=syntax` would be a good fit, but it does not seem
  to pass `.di` files to the compiler.
  • Loading branch information
CyberShadow committed Jun 8, 2022
1 parent 55d9fe6 commit 14681ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ jobs:
# We don't checkout in $GITHUB_WORKSPACE to avoid polluting the repository with artifacts,
# e.g. the C openssl library or Vibe.d
cd ${{ github.workspace }}/deimos-openssl/
dub test
cd examples/sslecho/
${{ github.workspace }}/openssl/install/bin/openssl req -batch -newkey rsa:4096 -x509 -sha256 -days 3650 -subj "/C=GB/CN=localhost" -nodes -out cert.pem -keyout key.pem
dub build
Expand Down
9 changes: 0 additions & 9 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,3 @@ configuration "library-manual-version" {
configuration "library-applink" {
targetType "sourceLibrary"
}

configuration "unittest" {
targetType "executable"
targetName "openssl-test-library"
dflags "-main"
excludedSourceFiles "source/deimos/openssl/applink.d"
preGenerateCommands `${DUB} scripts/generate_version.d` platform="posix"
versions `DeimosOpenSSLAutoDetect`
}

0 comments on commit 14681ce

Please sign in to comment.