Sfoglia il codice sorgente

Added SPM build action (#4576)

Jacob Christie 4 anni fa
parent
commit
30cd352013
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      .github/workflows/swift.yml

+ 10 - 0
.github/workflows/swift.yml

@@ -53,3 +53,13 @@ jobs:
       - uses: actions/checkout@v2
       - uses: actions/checkout@v2
       - name: iOS - ${{ matrix.destination }}
       - name: iOS - ${{ matrix.destination }}
         run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Charts.xcworkspace" -scheme "ChartsDemo-iOS" -destination "${{ matrix.destination }}" clean build | xcpretty
         run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Charts.xcworkspace" -scheme "ChartsDemo-iOS" -destination "${{ matrix.destination }}" clean build | xcpretty
+
+  spm:
+    name: Test with SPM
+    runs-on: macOS-latest
+    env:
+      DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
+    steps:
+      - uses: actions/checkout@v2
+      - name: SPM Test
+        run: swift build -c debug