From e0edff6d91b88f0ec170922a7bcfced183a0e097 Mon Sep 17 00:00:00 2001 From: Adam Lock Date: Wed, 13 Apr 2022 23:57:55 +0100 Subject: [PATCH] Improve github actions to build Linux and Windows, update README.md to point at it --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ .github/workflows/rust.yml | 22 ---------------------- README.md | 11 +---------- 3 files changed, 28 insertions(+), 32 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..3d244e9d3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: OPC UA for Rust + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + node-version: [12.x] + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 7eab1a654..000000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Rust - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -env: - CARGO_TERM_COLOR: always - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose diff --git a/README.md b/README.md index 160971cd2..add997ea8 100644 --- a/README.md +++ b/README.md @@ -2,16 +2,7 @@ This is an [OPC UA](https://opcfoundation.org/about/opc-technologies/opc-ua/) server / client API implementation for Rust. - - - - - - - - - -
Linux
Windows
+![Build Status](https://github.com/locka99/opcua/actions/workflows/main.yml/badge.svg) OPC UA is an industry standard for monitoring of data. It's used extensively for embedded devices, industrial control, IoT, etc. - just about anything that has data that something else wants to monitor, control or visualize.