ソースを参照

Update Windows CI (#3763)

Adjust the command for building on Windows. The installer should take
care of the setup of the environment. The actions setup already refresh
the environment on behalf of the user. This should allow us to avoid
requiring resetting the environment. The `cd` is implicit in the GHA
execution.
Saleem Abdulrasool 2 年 前
コミット
b3b8c1f018
1 ファイル変更1 行追加5 行削除
  1. 1 5
      .github/workflows/ci.yml

+ 1 - 5
.github/workflows/ci.yml

@@ -293,12 +293,8 @@ jobs:
       - name: Clone
         uses: actions/checkout@v3
       - name: SPM Windows Build
-        shell: cmd
         run: |
-          cd ${{ github.workspace }}
-          set SDKROOT=%SystemDrive%\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk
-          %SystemDrive%\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\swift-build.exe --build-tests -c debug -Xlinker /INCREMENTAL:NO -v
-          if not exist .build\x86_64-unknown-windows-msvc\debug\Alamofire.swiftmodule exit 1
+          swift build --build-tests -c debug -Xlinker /INCREMENTAL:NO -v
   CodeQL:
     name: Analyze with CodeQL
     runs-on: macOS-13