Skip to content

Commit

Permalink
Workaround CI/CD openssl issues another way
Browse files Browse the repository at this point in the history
  • Loading branch information
locka99 committed Apr 16, 2022
1 parent 1aae5d6 commit 3653b15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ jobs:
env:
VCPKGRS_DYNAMIC: 1
steps:
- run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
- run: vcpkg install openssl:x64-windows
- uses: actions/checkout@v3
- name: Build
run: cargo build
run: cargo build --features test-vendored-openssl
- name: Run tests
run: cargo test --verbose
run: cargo test --features test-vendored-openssl --verbose
2 changes: 2 additions & 0 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ appveyor = { repository = "locka99/opcua" }
[features]
default = ["server", "client"]
all = ["server", "client", "console-logging", "http"]
# This is for CI/CD testing on platforms with unresolved OpenSSL deps, don't use otherwise.
test-vendored-openssl = ["all", "vendored-openssl"]
# Server default settings
server = ["generated-address-space", "discovery-server-registration"]
# Client default settings
Expand Down

0 comments on commit 3653b15

Please sign in to comment.