ci: bump open62541 version from 1.3.7 to 1.3.11 #66
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
# OPCUA CI build using EPICS ci-scripts | |
# (see: https://github.com/epics-base/ci-scripts) | |
# This is YAML - indentation levels are crucial | |
# Set the 'name:' properties to values that work for you | |
name: opcua build and end-to-end test | |
# Trigger on pushes and PRs to any branch | |
on: | |
push: | |
paths-ignore: | |
- 'documentation/*' | |
- '**/*.html' | |
- '**/*.md' | |
pull_request: | |
env: | |
SETUP_PATH: .ci-local:.ci | |
MODULES: "gtest" | |
GTEST: "v1.0.1" | |
BASE_HOOK: ".ci-local/base.patch" | |
BASE_RECURSIVE: NO | |
encrypted_178ee45b7f75_pass: ${{ secrets.encrypted_178ee45b7f75_pass }} | |
jobs: | |
build-linux: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
# Set environment variables from matrix parameters | |
env: | |
CMP: ${{ matrix.cmp }} | |
BCFG: ${{ matrix.configuration }} | |
BASE: ${{ matrix.base }} | |
UASDK: ${{ matrix.uasdk }} | |
OPEN62541: ${{ matrix.open62541 }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# Unified Automation SDK | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "R7.0.4" | |
uasdk: "1.6.3" | |
name: "7.0.4 Ub-20 UASDK-1.6.3" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "7.0" | |
uasdk: "1.6.3" | |
name: "7.0 Ub-20 UASDK-1.6.3" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "R3.15.7" | |
uasdk: "1.6.3" | |
name: "3.15.7 Ub-20 UASDK-1.6.3" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "3.15" | |
uasdk: "1.6.3" | |
name: "3.15 Ub-20 UASDK-1.6.3" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "R7.0.4" | |
uasdk: "1.7.2" | |
name: "7.0.4 Ub-20 UASDK-1.7.2" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "7.0" | |
uasdk: "1.7.2" | |
name: "7.0 Ub-20 UASDK-1.7.2" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "R3.15.7" | |
uasdk: "1.7.2" | |
name: "3.15.7 Ub-20 UASDK-1.7.2" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "3.15" | |
uasdk: "1.7.2" | |
name: "3.15 Ub-20 UASDK-1.7.2" | |
# open62541 client library | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "7.0" | |
open62541: "1.3.11" | |
name: "7.0 Ub-20 open62541-1.3.11" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "7.0" | |
open62541: "1.2.7" | |
name: "7.0 Ub-20 open62541-1.2.7" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "3.15" | |
open62541: "1.3.11" | |
name: "3.15 Ub-20 open62541-1.3.11" | |
- os: ubuntu-20.04 | |
cmp: gcc | |
configuration: default | |
base: "3.15" | |
open62541: "1.2.7" | |
name: "3.15 Ub-20 open62541-1.2.7" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Download and compile UASDK client | |
run: | | |
python .ci-local/install-sdk.py | |
if: matrix.uasdk != '' | |
- name: Download and compile open62541 client | |
run: | | |
python .ci-local/install-open62541.py | |
if: matrix.open62541 != '' | |
- name: Prepare build dependencies | |
run: | | |
python .ci/cue.py prepare | |
- name: Build main module | |
run: python .ci/cue.py build | |
- name: Run main module tests | |
run: python .ci/cue.py test | |
- name: Collect and show test results | |
run: python .ci/cue.py test-results | |
- name: Install end2end test dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install libfaketime faketime | |
sudo pip3 install pytest opcua pyepics | |
sudo pip3 install run-iocsh -i https://artifactory.esss.lu.se/artifactory/api/pypi/pypi-virtual/simple | |
- name: Run end2end tests | |
run: | | |
python .ci/cue.py exec make -C end2endTest/server | |
python .ci/cue.py exec pytest -v end2endTest/test_opcua.py |