mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
refactor(ci): Move CI scripts to /tools/ci
This commit is contained in:
parent
d748b69f60
commit
12bd03568b
2
.github/workflows/build_linux.yml
vendored
2
.github/workflows/build_linux.yml
vendored
@ -185,6 +185,6 @@ jobs:
|
||||
${{ matrix.cmd_deps }}
|
||||
- name: ${{matrix.build_name}}
|
||||
if: ${{ matrix.runs_on == '' || matrix.runs_on == matrix.os }}
|
||||
run: source tools/ci.sh && ${{matrix.cmd_action}}
|
||||
run: source tools/ci/ci.sh && ${{matrix.cmd_action}}
|
||||
env:
|
||||
ETHERNET_INTERFACE: eth0
|
||||
|
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: Debug Build
|
||||
run: source tools/ci.sh && unit_tests
|
||||
run: source tools/ci/ci.sh && unit_tests
|
||||
env:
|
||||
ETHERNET_INTERFACE: eth0
|
||||
|
||||
|
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
- name: Execute Tests
|
||||
run: source tools/ci.sh && unit_tests_with_coverage
|
||||
run: source tools/ci/ci.sh && unit_tests_with_coverage
|
||||
env:
|
||||
ETHERNET_INTERFACE: eth0
|
||||
- name: Debug print
|
||||
|
@ -32,7 +32,7 @@ init:
|
||||
|
||||
install:
|
||||
- set PATH=C:\Users\appveyor\AppData\Roaming\Python\Scripts;%PATH%
|
||||
- ps: '& "./tools/appveyor/install.ps1"'
|
||||
- ps: '& "./tools/ci/appveyor/install.ps1"'
|
||||
|
||||
build_script:
|
||||
- ps: '& "./tools/appveyor/build.ps1"'
|
||||
- ps: '& "./tools/ci/appveyor/build.ps1"'
|
||||
|
@ -8,5 +8,5 @@ trigger:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
- template: ./tools/azure-devops/azure-pipelines-win.yml
|
||||
- template: ./tools/ci/azure-devops/azure-pipelines-win.yml
|
||||
# - template: ./tools/azure-devops/azure-pipelines-dist.yml
|
||||
|
@ -14,9 +14,9 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
- powershell: ./tools/azure-devops/win/install.ps1
|
||||
- powershell: ./tools/ci/azure-devops/win/install.ps1
|
||||
displayName: Install Requirements
|
||||
- powershell: ./tools/azure-devops/win/build.ps1
|
||||
- powershell: ./tools/ci/azure-devops/win/build.ps1
|
||||
displayName: "Build: $(CC_NAME)"
|
||||
|
||||
- job: 'win_msys64'
|
||||
@ -32,10 +32,10 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
- powershell: ./tools/azure-devops/win/install.ps1
|
||||
- powershell: ./tools/ci/azure-devops/win/install.ps1
|
||||
displayName: Install Requirements
|
||||
errorActionPreference: continue # Errors are handled in the script
|
||||
- powershell: ./tools/azure-devops/win/build.ps1
|
||||
- powershell: ./tools/ci/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
|
||||
|
||||
@ -52,9 +52,9 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
- powershell: ./tools/azure-devops/win/install.ps1
|
||||
- powershell: ./tools/ci/azure-devops/win/install.ps1
|
||||
displayName: Install Requirements
|
||||
errorActionPreference: continue # Errors are handled in the script
|
||||
- powershell: ./tools/azure-devops/win/build.ps1
|
||||
- powershell: ./tools/ci/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
|
@ -380,7 +380,7 @@ function examples_valgrind {
|
||||
# signal. Wait for the process to terminate and collect the exit status.
|
||||
# Abort when the exit status is non-null.
|
||||
# set_capabilities not possible with valgrind
|
||||
sudo -E bash -c "python3 ../tools/examples_with_valgrind.py"
|
||||
sudo -E bash -c "python3 ../tools/ci/examples_with_valgrind.py"
|
||||
EXIT_CODE=$?
|
||||
if [[ $EXIT_CODE -ne 0 ]]; then
|
||||
echo "Processing failed with exit code $EXIT_CODE"
|
Loading…
Reference in New Issue
Block a user