diff options
author | Jhen-Jie Hong <iainst0409@gmail.com> | 2023-10-05 08:56:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 16:56:21 +0300 |
commit | 0745384449fe8d89d6d99c93153569079e853247 (patch) | |
tree | 39cdabfebebec8335d561174be9c9a8b52510104 | |
parent | 019ba1dcd0c7775a5ac0f7442634a330eb0173cc (diff) |
ci : add swift build via xcodebuild (#3482)
-rw-r--r-- | .github/workflows/build.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35f84e40..d3e4651c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -253,6 +253,29 @@ jobs: -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 cmake --build . --config Release -j $(sysctl -n hw.logicalcpu) + macOS-latest-swift: + runs-on: macos-latest + + strategy: + matrix: + destination: ['platform=macOS,name=Any Mac', 'platform=iOS,name=Any iOS Device', 'platform=tvOS,name=Any tvOS Device'] + + steps: + - name: Clone + id: checkout + uses: actions/checkout@v1 + + - name: Dependencies + id: depends + continue-on-error: true + run: | + brew update + + - name: xcodebuild for swift package + id: xcodebuild + run: | + xcodebuild -scheme llama -destination "${{ matrix.destination }}" + windows-latest-cmake: runs-on: windows-latest |