Skip to content

Commit fa6fae5

Browse files
committed
Move the linux-flavors workflow to its own status badge.
I am tired of my build being red just because of some random issue with Arch linux that I don't have the time to investigate. Also, tweak name of the MacOS workflow.
1 parent 37fcabf commit fa6fae5

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

.github/workflows/build.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ jobs:
2323
- name: Build and run tests
2424
run: bash .github/build.sh
2525

26-
# Trigger testing of more linux flavors
27-
- name: Trigger linux flavors build
28-
uses: peter-evans/repository-dispatch@v2
29-
with:
30-
event-type: build-linux-flavors
26+
# Don't do it this way. This causes the main badge to
27+
# go red if one of the flavors fails.
28+
## Trigger testing of more linux flavors
29+
#- name: Trigger linux flavors build
30+
# uses: peter-evans/repository-dispatch@v2
31+
# with:
32+
# event-type: build-linux-flavors
3133

3234
build-and-test-windows:
3335
#if: false # Temporarily disable
@@ -90,7 +92,7 @@ jobs:
9092
shell: cmd
9193

9294
build-and-test-osx:
93-
name: Build And Test for OSX
95+
name: Build And Test MacOS
9496
runs-on: macos-latest
9597
steps:
9698
- uses: actions/checkout@v3

.github/workflows/linux-flavors.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ name: Linux flavors
44

55
# Triggered from the main CI build workflow
66
on:
7-
workflow_call:
8-
workflow_dispatch:
9-
repository_dispatch:
10-
types: [ build-linux-flavors ]
7+
workflow_run:
8+
workflows: ["CI"]
9+
types:
10+
- completed
11+
#workflow_call:
12+
#workflow_dispatch:
13+
#repository_dispatch:
14+
# types: [ build-linux-flavors ]
1115

1216
jobs:
1317

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# GameNetworkingSockets [![Build Status](https://github.com/ValveSoftware/GameNetworkingSockets/workflows/CI/badge.svg)](https://github.com/ValveSoftware/GameNetworkingSockets/actions)
1+
# GameNetworkingSockets
2+
[![Windows, Ubuntu, OSX](https://github.com/ValveSoftware/GameNetworkingSockets/actions/workflows/build.yml/badge.svg)](https://github.com/ValveSoftware/GameNetworkingSockets/actions) [![Linux flavors](https://github.com/ValveSoftware/GameNetworkingSockets/actions/workflows/linux-flavors.yml/badge.svg)](https://github.com/ValveSoftware/GameNetworkingSockets/actions)
23

34
GameNetworkingSockets is a basic transport layer for games. The features are:
45

0 commit comments

Comments
 (0)