refactor(ci): Move CI scripts to /tools/ci

This commit is contained in:
Julius Pfrommer 2024-10-11 18:12:51 +02:00 committed by Julius Pfrommer
parent d748b69f60
commit 12bd03568b
21 changed files with 13 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"'

View File

@ -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

View File

@ -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

View File

@ -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"