Skip to content

Commit

Permalink
Grouped the GHA builds into a nice graph
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatyas committed Apr 17, 2024
1 parent ed445bd commit 7604fd1
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_android.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build - Android

on: [push, pull_request, workflow_dispatch]
on:
workflow_call:

jobs:
android:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_emcc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build - Web

on: [push, pull_request, workflow_dispatch]
on:
workflow_call:

jobs:
emscripten:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build - Linux

on: [push, pull_request, workflow_dispatch]
on:
workflow_call:

jobs:
linux:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build - MacOS

on: [push, pull_request, workflow_dispatch]
on:
workflow_call:

jobs:
macos:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_mingw.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build - Windows

on: [push, pull_request, workflow_dispatch]
on:
workflow_call:

jobs:
mingw-cross:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build
on: [push, pull_request, workflow_dispatch]


jobs:
build-android:
name: Android
uses: ./.github/workflows/build_android.yml

build-emcc:
name: Web
uses: ./.github/workflows/build_emcc.yml

build-linux:
name: Linux
uses: ./.github/workflows/build_linux.yml

build-macos:
name: macOS
uses: ./.github/workflows/build_macos.yml

build-mingw:
name: Windows
uses: ./.github/workflows/build_mingw.yml

0 comments on commit 7604fd1

Please sign in to comment.