forked from rr-debugger/rr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Set up MSYS2 | ||
uses: msys2/setup-msys2@v2 | ||
|
||
- name: Run script with signal handling | ||
timeout-minutes: 1 # kil job instead of workflow | ||
run: | | ||
bash -c ' | ||
trap "echo SIGTERM catched && ps -aef && top" SIGTERM; | ||
echo "starting process..."; | ||
sleep 10000; | ||
echo "Process ended." | ||
' |