Skip to content

feat!: Provide cargo suited examples #346

feat!: Provide cargo suited examples

feat!: Provide cargo suited examples #346

Workflow file for this run

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