mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Set timeout for build GH workflow jobs
This is in order to catch and stop any malfunctioning job. This was adapted to 3.3-stable from d5461d2927ac712ded603f7f133f18e9a02caeb4.
This commit is contained in:
parent
76227fa519
commit
dbe2d7cb4a
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -12,6 +12,7 @@ jobs:
|
||||
build-linux-x11-clang:
|
||||
name: X11 (Linux, Clang)
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 4
|
||||
env:
|
||||
CC: clang
|
||||
CFLAGS: -Werror
|
||||
@ -35,6 +36,7 @@ jobs:
|
||||
build-linux-wayland-clang:
|
||||
name: Wayland (Linux, Clang)
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 4
|
||||
env:
|
||||
CC: clang
|
||||
CFLAGS: -Werror
|
||||
@ -58,6 +60,7 @@ jobs:
|
||||
build-linux-null-clang:
|
||||
name: Null (Linux, Clang)
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 4
|
||||
env:
|
||||
CC: clang
|
||||
CFLAGS: -Werror
|
||||
@ -81,6 +84,7 @@ jobs:
|
||||
build-macos-cocoa-clang:
|
||||
name: Cocoa (macOS, Clang)
|
||||
runs-on: macos-latest
|
||||
timeout-minutes: 4
|
||||
env:
|
||||
CFLAGS: -Werror
|
||||
MACOSX_DEPLOYMENT_TARGET: 10.8
|
||||
@ -100,6 +104,7 @@ jobs:
|
||||
build-windows-win32-vs2022:
|
||||
name: Win32 (Windows, VS2022)
|
||||
runs-on: windows-latest
|
||||
timeout-minutes: 4
|
||||
env:
|
||||
CFLAGS: /WX
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user