Skip to content

Commit

Permalink
Enable traceback in CI scripts that use alr
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Sep 12, 2023
1 parent e82e807 commit 614aac3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:
# Empty index: test with master of community index
# Otherwise: test with particular commit/branch
# e.g.: index: "git+https://github.com/alire-project/alire-index@deadbeef"
ALR_TRACEBACK_ENABLED: true

jobs:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
release:
types: [created]

env:
ALR_TRACEBACK_ENABLED: true

jobs:

build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- '**.rst'
- '**.txt'

env:
ALR_TRACEBACK_ENABLED: true

jobs:

build:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

env:
ALIRE_OS: "windows"
ALR_TRACEBACK_ENABLED: true

jobs:

Expand Down Expand Up @@ -68,7 +69,7 @@ jobs:
- name: Add msys2 /usr/bin to the path (for zip)
run: echo 'C:\Users\runneradmin\.cache\alire\msys64\usr\bin' >> $GITHUB_PATH
shell: bash

- name: Run installer build script
run: bash make-alire-installer
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- cron: '0 0 * * *'
workflow_dispatch:

env:
ALR_TRACEBACK_ENABLED: true

jobs:

build:
Expand Down
1 change: 1 addition & 0 deletions scripts/ci-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ set -o errexit
set -o nounset

export PATH+=:${PWD}/bin
export ALR_TRACEBACK_ENABLED=true

# Import reusable bits
pushd $( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
Expand Down

0 comments on commit 614aac3

Please sign in to comment.