Skip to content

Commit

Permalink
ci: Disable macOS runner
Browse files Browse the repository at this point in the history
  • Loading branch information
KKK669 committed Sep 17, 2023
1 parent 90f05b3 commit c402808
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ jobs:
- run: swift build
- run: swift test

build-macos:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: |
sudo xcode-select -s /Applications/Xcode_15.0.app
xcodebuild -version
- name: Install Swift nightly toolchain
run: |
VERSION=swift-DEVELOPMENT-SNAPSHOT-2023-08-29-a
TOOLCHAIN_URL="https://download.swift.org/development/xcode/$VERSION/$VERSION-osx.pkg"
curl -LO $TOOLCHAIN_URL
installer -target CurrentUserHomeDirectory -pkg $VERSION-osx.pkg
echo "PATH=$HOME/Library/Developer/Toolchains/$VERSION.xctoolchain/usr/bin:${PATH}" >> $GITHUB_ENV
- run: swift --version
- run: swift build
- run: swift test
# build-macos:
# runs-on: macos-13
# steps:
# - uses: actions/checkout@v3
# - name: Select Xcode
# run: |
# sudo xcode-select -s /Applications/Xcode_15.0.app
# xcodebuild -version
# - name: Install Swift nightly toolchain
# run: |
# VERSION=swift-DEVELOPMENT-SNAPSHOT-2023-08-29-a
# TOOLCHAIN_URL="https://download.swift.org/development/xcode/$VERSION/$VERSION-osx.pkg"
# curl -LO $TOOLCHAIN_URL
# installer -target CurrentUserHomeDirectory -pkg $VERSION-osx.pkg
# echo "PATH=$HOME/Library/Developer/Toolchains/$VERSION.xctoolchain/usr/bin:${PATH}" >> $GITHUB_ENV
# - run: swift --version
# - run: swift build
# - run: swift test

0 comments on commit c402808

Please sign in to comment.