Skip to content

Commit

Permalink
21024: Adds optional debug mode to CI/CD (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
apbassett authored Jul 25, 2024
1 parent 3c5602e commit 69e5542
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ on:
'57.0.1'
required: false
type: string
debug-mode:
description: Enables GDB and Amalgam Fast Memory Integrity checks for all Linux/x86 Pytest jobs.
type: boolean
required: false
default: false
workflow_call:
inputs:
build-type:
Expand All @@ -22,6 +27,10 @@ on:
optional-release-tag:
required: false
type: string
debug-mode:
type: boolean
required: false
default: false

defaults:
run:
Expand Down Expand Up @@ -208,10 +217,11 @@ jobs:
platform-pretty: 'Linux'
amalgam-plat-arch: 'linux-amd64'
python-version: '3.9'
config-fp: './config/latest-st-debug-howso.yml'
config-fp: './config/latest-st-traces-howso.yml'
config-pretty: 'ST'
workers: 'auto'
upstream-details: ${{ needs.metadata.outputs.upstream-details }}
debug: ${{ inputs.debug-mode }}

pytest-linux-3-12-mt:
needs: ['metadata', 'build']
Expand All @@ -222,9 +232,10 @@ jobs:
platform-pretty: 'Linux'
amalgam-plat-arch: 'linux-amd64'
python-version: '3.12'
config-fp: './config/latest-mt-debug-howso.yml'
config-fp: './config/latest-mt-traces-howso.yml'
config-pretty: 'MT'
upstream-details: ${{ needs.metadata.outputs.upstream-details }}
debug: ${{ inputs.debug-mode }}

pytest-windows-3-12-mt:
needs: ['metadata', 'build']
Expand All @@ -235,22 +246,24 @@ jobs:
platform-pretty: 'Windows'
amalgam-plat-arch: 'windows-amd64'
python-version: '3.12'
config-fp: './config/latest-mt-debug-howso.yml'
config-fp: './config/latest-mt-traces-howso.yml'
config-pretty: 'MT'
upstream-details: ${{ needs.metadata.outputs.upstream-details }}
debug: ${{ inputs.debug-mode }}

pytest-macos-3-12-mt:
needs: ['metadata', 'build']
uses: howsoai/.github/.github/workflows/pytest.yml@main
secrets: inherit
with:
platform: 'macos-latest-xlarge'
platform: 'macos-latest'
platform-pretty: 'MacOS'
amalgam-plat-arch: 'darwin-arm64'
python-version: '3.12'
config-fp: './config/latest-mt-debug-howso.yml'
config-fp: './config/latest-mt-traces-howso.yml'
config-pretty: 'MT'
upstream-details: ${{ needs.metadata.outputs.upstream-details }}
debug: ${{ inputs.debug-mode }}

publish:
if: inputs.build-type == 'release'
Expand Down
2 changes: 1 addition & 1 deletion config/latest-mt-debug-howso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Howso:
debug: true
check_version: false
amalgam:
library_postfix: -mt
library_postfix: -mt-afmi
trace: true
execution_trace_dir: ./traces/
9 changes: 9 additions & 0 deletions config/latest-mt-traces-howso.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Howso:
client: howso.direct.HowsoDirectClient
client_extra_params:
debug: true
check_version: false
amalgam:
library_postfix: -mt
trace: true
execution_trace_dir: ./traces/
File renamed without changes.

0 comments on commit 69e5542

Please sign in to comment.