Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Nov 30, 2023
1 parent 4e44833 commit 0ef7a15
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/cmake.yml → .github/workflows/basictest.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
name: CMake
name: basictest

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
schedule:
- cron: '30 18 * * 0' # 18:30 every Sunday

workflow_dispatch:
inputs:
manual-debugging:
type: boolean
description: Launch manual debugging tmate session on failure
default: false

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down Expand Up @@ -146,3 +153,15 @@ jobs:
python3 -c 'import NCrystal; NCrystal.test()'
. ${{github.workspace}}/install/unsetup.sh
#Final step, so tmate step can check if we got this far.
- name: Final
id: final-step
run: |
echo "All steps fine"
true
- name: Setup tmate session for manual debugging
uses: mxschmitt/action-tmate@v3
if: always() && inputs.manual-debugging == true && (steps.final-step != 'success')
with:
limit-access-to-actor: true

0 comments on commit 0ef7a15

Please sign in to comment.