projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add timeouts to CI jobs.
[tinc]
/
.github
/
workflows
/
test.yml
diff --git
a/.github/workflows/test.yml
b/.github/workflows/test.yml
index
a9253ab
..
7463c8f
100644
(file)
--- a/
.github/workflows/test.yml
+++ b/
.github/workflows/test.yml
@@
-10,6
+10,7
@@
on:
jobs:
code-style:
runs-on: ubuntu-latest
jobs:
code-style:
runs-on: ubuntu-latest
+ timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v2
steps:
- name: Checkout code
uses: actions/checkout@v2
@@
-42,10
+43,12
@@
jobs:
sanitizer:
runs-on: ubuntu-latest
sanitizer:
runs-on: ubuntu-latest
+ timeout-minutes: 10
strategy:
fail-fast: false
matrix:
sanitizer:
strategy:
fail-fast: false
matrix:
sanitizer:
+ - address
- thread
- undefined
env:
- thread
- undefined
env:
@@
-86,6
+89,7
@@
jobs:
linux:
runs-on: ubuntu-latest
linux:
runs-on: ubuntu-latest
+ timeout-minutes: 10
strategy:
fail-fast: false
matrix:
strategy:
fail-fast: false
matrix:
@@
-131,7
+135,8
@@
jobs:
fi
yum install -y epel-release
yum install -y git binutils make autoconf automake gcc diffutils \
fi
yum install -y epel-release
yum install -y git binutils make autoconf automake gcc diffutils \
- texinfo netcat procps socat {lzo,zlib,lz4,openssl11,ncurses,readline}-devel
+ texinfo netcat procps socat {lzo,zlib,lz4,ncurses,readline}-devel
+ yum install -y openssl11-devel || yum install -y openssl-devel
if: startsWith(matrix.os, 'centos') || startsWith(matrix.os, 'alma')
- name: Install deps (SUSE)
if: startsWith(matrix.os, 'centos') || startsWith(matrix.os, 'alma')
- name: Install deps (SUSE)
@@
-171,6
+176,7
@@
jobs:
os: [ubuntu-18.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
os: [ubuntu-18.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
+ timeout-minutes: 5
steps:
- name: Checkout code
steps:
- name: Checkout code
@@
-219,6
+225,7
@@
jobs:
os: [ubuntu-18.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
os: [ubuntu-18.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
+ timeout-minutes: 5
steps:
- name: Download built packages
steps:
- name: Download built packages
@@
-250,6
+257,7
@@
jobs:
macos:
runs-on: macos-latest
macos:
runs-on: macos-latest
+ timeout-minutes: 10
strategy:
fail-fast: false
strategy:
fail-fast: false
@@
-289,6
+297,7
@@
jobs:
windows:
runs-on: windows-latest
windows:
runs-on: windows-latest
+ timeout-minutes: 20
strategy:
fail-fast: false
strategy:
fail-fast: false