forked from locka99/opcua
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/cbid 3954 upgrade time crate to fix nightly (locka99#4)
* Cherry-picked: Upgrade to latest Actix Web and also fix some broken logic in demo server * Cherry-picked: Remove time crate and cleanup some time functions (locka99#260) * Cherry-picked: Fix a failing test * enable workflow * temporary remove samples/web-client from workspace * support nightly in workflows
- Loading branch information
Showing
28 changed files
with
1,264 additions
and
2,049 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,51 @@ | ||
name: OPC UA for Rust | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
branches: | ||
- main | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
name: OPC UA for Rust - ${{ matrix.toolchain }} | ||
|
||
strategy: | ||
matrix: | ||
toolchain: [ nightly, stable ] | ||
platform: [ ubuntu-latest ] | ||
runs-on: ${{ matrix.platform }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- 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: | ||
runs-on: windows-latest | ||
env: | ||
VCPKGRS_DYNAMIC: 1 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: cargo build --features test-vendored-openssl | ||
- name: Run tests | ||
run: cargo test --features test-vendored-openssl --verbose | ||
## Note: We don't rely on windows, so let's save some compute | ||
# build-windows: | ||
# runs-on: windows-latest | ||
# env: | ||
# VCPKGRS_DYNAMIC: 1 | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - name: Build | ||
# run: cargo build --features test-vendored-openssl | ||
# - name: Run tests | ||
# run: cargo test --features test-vendored-openssl --verbose |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ log/ | |
/samples/server.test.conf | ||
/integration/pki-client | ||
/integration/pki-server | ||
3rd-party/open62541/build/ |
Oops, something went wrong.