diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5662acfb6..88411a856 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,11 @@ jobs: - uses: actions/checkout@main with: submodules: 'true' + - name: Set up Xcode + run: | + sudo xcode-select -s /Applications/Xcode_15.0.app/Contents/Developer + xcode-select -p + xcodebuild -version - name: Build run: swift build -v - name: Test @@ -26,6 +31,11 @@ jobs: - uses: actions/checkout@main with: submodules: 'true' + - name: Set up Xcode + run: | + sudo xcode-select -s /Applications/Xcode_15.0.app/Contents/Developer + xcode-select -p + xcodebuild -version - name: Build run: swift build --sdk `xcrun -sdk iphonesimulator -show-sdk-path` -Xswiftc -target -Xswiftc x86_64-apple-ios13.0-simulator diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 4cce36f6a..b05bdca2d 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -17,6 +17,11 @@ jobs: - uses: actions/checkout@main with: submodules: 'true' + - name: Set up Xcode + run: | + sudo xcode-select -s /Applications/Xcode_15.0.app/Contents/Developer + xcode-select -p + xcodebuild -version - name: Build run: swift build -v -c release - name: Test