Bläddra i källkod

Optimize the job label and name

onevcat 1 månad sedan
förälder
incheckning
4584779e3d
2 ändrade filer med 26 tillägg och 0 borttagningar
  1. 17 0
      .github/workflows/build.yaml
  2. 9 0
      .github/workflows/test.yaml

+ 17 - 0
.github/workflows/build.yaml

@@ -17,45 +17,62 @@ concurrency:
 
 jobs:
   build-framework:
+    name: build (Xcode ${{ matrix.xcode }}, ${{ matrix.label }})
     runs-on: self-hosted
     strategy:
       matrix:
         include:
           - xcode: '16.2'
             destination: 'macOS'
+            label: 'macOS'
           - xcode: '16.2'
             destination: 'iOS Simulator,name=iPhone 16,OS=18.2'
+            label: 'iOS 18.2'
           - xcode: '16.2'
             destination: 'tvOS Simulator,name=Apple TV 4K (3rd generation),OS=18.2'
+            label: 'tvOS 18.2'
           - xcode: '16.2'
             destination: 'watchOS Simulator,name=Apple Watch Series 10 (42mm),OS=11.2'
+            label: 'watchOS 11.2'
 
           - xcode: '16.3'
             destination: 'macOS'
+            label: 'macOS'
           - xcode: '16.3'
             destination: 'iOS Simulator,name=iPhone 16,OS=18.4'
+            label: 'iOS 18.4'
           - xcode: '16.3'
             destination: 'tvOS Simulator,name=Apple TV 4K (3rd generation),OS=18.4'
+            label: 'tvOS 18.4'
           - xcode: '16.3'
             destination: 'watchOS Simulator,name=Apple Watch Series 10 (42mm),OS=11.4'
+            label: 'watchOS 11.4'
 
           - xcode: '26.0.1'
             destination: 'macOS'
+            label: 'macOS'
           - xcode: '26.0.1'
             destination: 'iOS Simulator,name=iPhone 17,OS=26.0'
+            label: 'iOS 26.0'
           - xcode: '26.0.1'
             destination: 'tvOS Simulator,name=Apple TV 4K (3rd generation),OS=26.0'
+            label: 'tvOS 26.0'
           - xcode: '26.0.1'
             destination: 'watchOS Simulator,name=Apple Watch Series 11 (42mm),OS=26.0'
+            label: 'watchOS 26.0'
 
           - xcode: '26.1.1'
             destination: 'macOS'
+            label: 'macOS'
           - xcode: '26.1.1'
             destination: 'iOS Simulator,name=iPhone 17,OS=26.1'
+            label: 'iOS 26.1'
           - xcode: '26.1.1'
             destination: 'tvOS Simulator,name=Apple TV 4K (3rd generation),OS=26.1'
+            label: 'tvOS 26.1'
           - xcode: '26.1.1'
             destination: 'watchOS Simulator,name=Apple Watch Series 11 (42mm),OS=26.1'
+            label: 'watchOS 26.1'
     steps:
       - uses: actions/checkout@v4
       - name: Install Gems

+ 9 - 0
.github/workflows/test.yaml

@@ -17,27 +17,36 @@ concurrency:
 
 jobs:
   run-tests:
+    name: test (Xcode ${{ matrix.xcode }}, ${{ matrix.label }})
     runs-on: self-hosted
     strategy:
       matrix:
         include:
           - xcode: '16.4'
             destination: 'macOS'
+            label: 'macOS'
           - xcode: '16.4'
             destination: 'iOS Simulator,name=iPhone 16,OS=18.5'
+            label: 'iOS 18.5'
           - xcode: '16.4'
             destination: 'tvOS Simulator,name=Apple TV 4K (3rd generation),OS=18.5'
+            label: 'tvOS 18.5'
           - xcode: '16.4'
             destination: 'watchOS Simulator,name=Apple Watch Series 10 (42mm),OS=11.5'
+            label: 'watchOS 11.5'
 
           - xcode: '26.2'
             destination: 'macOS'
+            label: 'macOS'
           - xcode: '26.2'
             destination: 'iOS Simulator,name=iPhone 17,OS=26.2'
+            label: 'iOS 26.2'
           - xcode: '26.2'
             destination: 'tvOS Simulator,name=Apple TV 4K (3rd generation),OS=26.2'
+            label: 'tvOS 26.2'
           - xcode: '26.2'
             destination: 'watchOS Simulator,name=Apple Watch Series 11 (42mm),OS=26.2'
+            label: 'watchOS 26.2'
     steps:
       - uses: actions/checkout@v4
       - name: Install Gems