Browse Source

update ci

Pierre-Marc Airoldi 2 years ago
parent
commit
996c588314
1 changed files with 5 additions and 5 deletions
  1. 5 5
      .github/workflows/swift.yml

+ 5 - 5
.github/workflows/swift.yml

@@ -10,7 +10,7 @@ on:
 
 
 jobs:
 jobs:
   iOS:
   iOS:
-    runs-on: macos-latest
+    runs-on: macos-12
     env:
     env:
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
     strategy:
     strategy:
@@ -22,7 +22,7 @@ jobs:
         run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Charts.xcworkspace" -scheme "Charts" -destination "${{ matrix.destination }}" clean test | xcpretty
         run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Charts.xcworkspace" -scheme "Charts" -destination "${{ matrix.destination }}" clean test | xcpretty
 
 
   tvOS:
   tvOS:
-    runs-on: macos-latest
+    runs-on: macos-12
     env:
     env:
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
     strategy:
     strategy:
@@ -34,7 +34,7 @@ jobs:
         run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Charts.xcworkspace" -scheme "Charts" -destination "${{ matrix.destination }}" clean test | xcpretty
         run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Charts.xcworkspace" -scheme "Charts" -destination "${{ matrix.destination }}" clean test | xcpretty
 
 
   macOS_demo:
   macOS_demo:
-    runs-on: macos-latest
+    runs-on: macos-12
     env:
     env:
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
     steps:
     steps:
@@ -43,7 +43,7 @@ jobs:
         run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Charts.xcworkspace" -scheme "ChartsDemo-macOS" -destination "platform=macOS" clean build | xcpretty
         run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Charts.xcworkspace" -scheme "ChartsDemo-macOS" -destination "platform=macOS" clean build | xcpretty
 
 
   iOS_demo:
   iOS_demo:
-    runs-on: macos-latest
+    runs-on: macos-12
     env:
     env:
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
     strategy:
     strategy:
@@ -56,7 +56,7 @@ jobs:
 
 
   spm:
   spm:
     name: Test with SPM
     name: Test with SPM
-    runs-on: macos-latest
+    runs-on: macos-12
     env:
     env:
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
       DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
     steps:
     steps: