mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Set timeout for build GH workflow jobs
This is in order to catch and stop any malfunctioning job.
This commit is contained in:
parent
d2b88cf7ab
commit
8ff8d67560
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -12,6 +12,7 @@ jobs:
|
|||||||
build-linux-clang:
|
build-linux-clang:
|
||||||
name: Linux (Clang)
|
name: Linux (Clang)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 4
|
||||||
env:
|
env:
|
||||||
CC: clang
|
CC: clang
|
||||||
CFLAGS: -Werror
|
CFLAGS: -Werror
|
||||||
@ -50,6 +51,7 @@ jobs:
|
|||||||
build-macos-clang:
|
build-macos-clang:
|
||||||
name: macOS (Clang)
|
name: macOS (Clang)
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
timeout-minutes: 4
|
||||||
env:
|
env:
|
||||||
CFLAGS: -Werror
|
CFLAGS: -Werror
|
||||||
MACOSX_DEPLOYMENT_TARGET: 10.8
|
MACOSX_DEPLOYMENT_TARGET: 10.8
|
||||||
@ -75,6 +77,7 @@ jobs:
|
|||||||
build-windows-vs2022:
|
build-windows-vs2022:
|
||||||
name: Windows (VS2022)
|
name: Windows (VS2022)
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
timeout-minutes: 4
|
||||||
env:
|
env:
|
||||||
CFLAGS: /WX
|
CFLAGS: /WX
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user