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.
This commit is contained in:
Fletcher Dunn
2024-09-08 11:24:09 -07:00
parent 37fcabf569
commit fa6fae5bd5
3 changed files with 18 additions and 11 deletions
+8 -6
View File
@@ -23,11 +23,13 @@ jobs:
- name: Build and run tests
run: bash .github/build.sh
# Trigger testing of more linux flavors
- name: Trigger linux flavors build
uses: peter-evans/repository-dispatch@v2
with:
event-type: build-linux-flavors
# Don't do it this way. This causes the main badge to
# go red if one of the flavors fails.
## Trigger testing of more linux flavors
#- name: Trigger linux flavors build
# uses: peter-evans/repository-dispatch@v2
# with:
# event-type: build-linux-flavors
build-and-test-windows:
#if: false # Temporarily disable
@@ -90,7 +92,7 @@ jobs:
shell: cmd
build-and-test-osx:
name: Build And Test for OSX
name: Build And Test MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
+8 -4
View File
@@ -4,10 +4,14 @@ name: Linux flavors
# Triggered from the main CI build workflow
on:
workflow_call:
workflow_dispatch:
repository_dispatch:
types: [ build-linux-flavors ]
workflow_run:
workflows: ["CI"]
types:
- completed
#workflow_call:
#workflow_dispatch:
#repository_dispatch:
# types: [ build-linux-flavors ]
jobs:
+2 -1
View File
@@ -1,4 +1,5 @@
# GameNetworkingSockets [![Build Status](https://github.com/ValveSoftware/GameNetworkingSockets/workflows/CI/badge.svg)](https://github.com/ValveSoftware/GameNetworkingSockets/actions)
# GameNetworkingSockets
[![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)
GameNetworkingSockets is a basic transport layer for games. The features are: