opc source code
This commit is contained in:
61
third_party/open62541/.azure-pipelines/azure-pipelines-dist.yml
vendored
Normal file
61
third_party/open62541/.azure-pipelines/azure-pipelines-dist.yml
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
# Docs see here:
|
||||
# https://aka.ms/yaml
|
||||
|
||||
jobs:
|
||||
- job: 'dist_debian'
|
||||
displayName: 'Dist (debian)'
|
||||
pool:
|
||||
vmImage: 'ubuntu-20.04'
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
|
||||
- task: Bash@3
|
||||
inputs:
|
||||
targetType: FilePath
|
||||
filePath: ./tools/azure-devops/debian/install.sh
|
||||
failOnStderr: false
|
||||
displayName: Installing required packages
|
||||
|
||||
- task: Bash@3
|
||||
inputs:
|
||||
targetType: FilePath
|
||||
filePath: ./tools/azure-devops/debian/build.sh
|
||||
failOnStderr: false
|
||||
displayName: Building & Testing
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||
ArtifactName: libopen62541-debian
|
||||
# publishing artifacts from PRs from a fork is currently blocked
|
||||
condition: succeeded()
|
||||
displayName: "Publish Artifact: open62541 Debian Packages"
|
||||
|
||||
# See https://github.com/microsoft/azure-pipelines-tasks/issues/11260#issuecomment-527343172
|
||||
- bash: echo "##vso[task.setvariable variable=TAG]${BUILD_SOURCEBRANCH##refs/tags/}"
|
||||
displayName: Set TAG variable for $(Build.SourceBranch)
|
||||
condition: startswith(variables['Build.SourceBranch'], 'refs/tags/')
|
||||
- task: GitHubRelease@0
|
||||
# Only execute this task if a tags build
|
||||
condition: startswith(variables['Build.SourceBranch'], 'refs/tags/')
|
||||
inputs:
|
||||
gitHubConnection: 'open62541-azure-bot'
|
||||
repositoryName: '$(Build.Repository.Name)'
|
||||
action: 'edit' # Options: create, edit, delete
|
||||
target: '$(Build.SourceVersion)' # Required when action == Create || Action == Edit
|
||||
tagSource: 'Git tag'
|
||||
#tagPattern: # Optional
|
||||
tag: $(TAG) # Required when action == Edit || Action == Delete || TagSource == Manual
|
||||
#title: # Optional
|
||||
#releaseNotesSource: 'file' # Optional. Options: file, input
|
||||
#releaseNotesFile: # Optional
|
||||
#releaseNotes: # Optional
|
||||
assets: '$(Build.ArtifactStagingDirectory)/*' # Optional
|
||||
assetUploadMode: 'replace' # Optional. Options: delete, replace
|
||||
#isDraft: false # Optional
|
||||
#isPreRelease: false # Optional
|
||||
addChangeLog: false # Optional
|
||||
#compareWith: 'lastFullRelease' # Required when addChangeLog == True. Options: lastFullRelease, lastRelease, lastReleaseByTag
|
||||
#releaseTag: # Required when compareWith == LastReleaseByTag
|
||||
|
||||
28
third_party/open62541/.azure-pipelines/azure-pipelines-linux.yml
vendored
Normal file
28
third_party/open62541/.azure-pipelines/azure-pipelines-linux.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# Docs see here:
|
||||
# https://aka.ms/yaml
|
||||
|
||||
jobs:
|
||||
- job: 'cross_freeRTOS'
|
||||
displayName: 'Arch (freeRTOS)'
|
||||
pool:
|
||||
vmImage: 'ubuntu-20.04'
|
||||
variables:
|
||||
IDF_PATH: $(Build.BinariesDirectory)/esp-idf
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
|
||||
- task: Bash@3
|
||||
inputs:
|
||||
targetType: FilePath
|
||||
filePath: ./tools/azure-devops/freeRTOS/install.sh
|
||||
failOnStderr: false
|
||||
displayName: Installing required packages
|
||||
|
||||
- task: Bash@3
|
||||
inputs:
|
||||
targetType: FilePath
|
||||
filePath: ./tools/azure-devops/freeRTOS/build.sh
|
||||
failOnStderr: false
|
||||
displayName: Building & Testing
|
||||
|
||||
60
third_party/open62541/.azure-pipelines/azure-pipelines-win.yml
vendored
Normal file
60
third_party/open62541/.azure-pipelines/azure-pipelines-win.yml
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
# Docs see here:
|
||||
# https://aka.ms/yaml
|
||||
|
||||
jobs:
|
||||
- job: 'win_vs2019'
|
||||
displayName: 'Windows (VS2019)'
|
||||
pool:
|
||||
vmImage: 'windows-2019'
|
||||
variables:
|
||||
CC_NAME: Visual Studio 16 2019
|
||||
CC_SHORTNAME: VS2019
|
||||
GENERATOR: Visual Studio 16 2019
|
||||
FORCE_CXX: OFF
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
- powershell: ./tools/azure-devops/win/install.ps1
|
||||
displayName: Install Requirements
|
||||
- powershell: ./tools/azure-devops/win/build.ps1
|
||||
displayName: "Build: $(CC_NAME)"
|
||||
|
||||
- job: 'win_msys64'
|
||||
displayName: 'Windows (msys64)'
|
||||
pool:
|
||||
vmImage: 'windows-2019'
|
||||
variables:
|
||||
CC_NAME: MinGW Makefiles
|
||||
CC_SHORTNAME: mingw
|
||||
GENERATOR: MinGW Makefiles
|
||||
FORCE_CXX: OFF
|
||||
MSYS2_ROOT: C:/msys64
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
- powershell: ./tools/azure-devops/win/install.ps1
|
||||
displayName: Install Requirements
|
||||
errorActionPreference: continue # Errors are handled in the script
|
||||
- powershell: ./tools/azure-devops/win/build.ps1
|
||||
displayName: "Build: $(CC_NAME)"
|
||||
errorActionPreference: continue # If set to Stop, we only get a truncated exception message. Error is handled by checking exit code
|
||||
|
||||
- job: 'win_clang'
|
||||
displayName: 'Windows (clang)'
|
||||
pool:
|
||||
vmImage: 'windows-2019'
|
||||
variables:
|
||||
CC_NAME: Clang
|
||||
CC_SHORTNAME: clang-mingw
|
||||
GENERATOR: MinGW Makefiles
|
||||
FORCE_CXX: OFF
|
||||
MSYS2_ROOT: C:/msys64
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
- powershell: ./tools/azure-devops/win/install.ps1
|
||||
displayName: Install Requirements
|
||||
errorActionPreference: continue # Errors are handled in the script
|
||||
- powershell: ./tools/azure-devops/win/build.ps1
|
||||
displayName: "Build: $(CC_NAME)"
|
||||
errorActionPreference: continue # If set to Stop, we only get a truncated exception message. Error is handled by checking exit code
|
||||
Reference in New Issue
Block a user