use runtime handle for Server::run_server_on_runtime
and http::run_http_server
instead of runtime
#399
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OPC UA for Rust | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-linux: | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Provision toolchain | |
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- name: Build | |
run: cargo build --features test-vendored-openssl | |
- name: Run tests | |
run: cargo test --features test-vendored-openssl --verbose | |
- name: Run integration tests | |
run: | | |
cd integration | |
sh ./run.sh | |
build-windows: | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
runs-on: windows-latest | |
env: | |
VCPKGRS_DYNAMIC: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Provision toolchain | |
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- name: Build | |
run: cargo build --features test-vendored-openssl | |
- name: Run tests | |
run: cargo test --features test-vendored-openssl --verbose | |
code-coverage: | |
uses: ./.github/workflows/ci_code_coverage.yml | |
verify-clean-address-space: | |
uses: ./.github/workflows/ci_verify_clean_address_space.yml | |
verify-clean-node-ids: | |
uses: ./.github/workflows/ci_verify_clean_node_ids.yml | |
verify-clean-supported-message: | |
uses: ./.github/workflows/ci_verify_clean_supported_message.yml | |
verify-clean-types: | |
uses: ./.github/workflows/ci_verify_clean_types.yml | |
verify-code-formatting: | |
uses: ./.github/workflows/ci_format_code.yml | |
verify-clean-status-codes: | |
uses: ./.github/workflows/ci_verify_clean_status_codes.yml |