Replace shell-level timeout with dedicated command.
It turns out the systems we run this workflow on all have timeout(1),
This commit is contained in:
@@ -139,7 +139,9 @@ jobs:
|
||||
CYGWIN: "winsymlinks:native"
|
||||
- uses: actions/checkout@main
|
||||
- name: setup CI system
|
||||
run: sh ./.github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }}
|
||||
run: |
|
||||
timeout 1200 sh .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }} || \
|
||||
sh .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }}
|
||||
env:
|
||||
CYGWIN_SETUP: ${{ steps.cygwin_install.outputs.setup }}
|
||||
- name: autoreconf
|
||||
|
||||
Reference in New Issue
Block a user