Skip to content

Commit

Permalink
Update CI for latest macOS and Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
luispadron committed Sep 19, 2024
1 parent d4cc5b5 commit 9a646cb
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 373 deletions.
8 changes: 0 additions & 8 deletions .bazelrc

This file was deleted.

1 change: 0 additions & 1 deletion .bazelversion

This file was deleted.

45 changes: 7 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,12 @@ on:
pull_request:

jobs:
xcode-build:
name: Xcode Build
runs-on: macOS-11
strategy:
matrix:
platform: ['iOS_13']
fail-fast: false
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Bundle Install
run: bundle install --gemfile=Example/Gemfile
- name: Prepare Simulator Runtimes
run: Scripts/github/prepare-simulators.sh ${{ matrix.platform }}
- name: Pod Install
run: bundle exec --gemfile=Example/Gemfile pod install --project-directory=Example
- name: Build and Test
run: Scripts/build.swift xcode ${{ matrix.platform }} `which xcpretty`
- name: Upload Results
uses: actions/upload-artifact@v2
if: failure()
with:
name: Test Results
path: .build/derivedData/**/Logs/Test/*.xcresult
pod-lint:
name: Pod Lint
runs-on: macOS-11
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Bundle Install
run: bundle install --gemfile=Example/Gemfile
- name: Pod Install
Expand All @@ -47,23 +23,16 @@ jobs:
run: bundle exec --gemfile=Example/Gemfile pod lib lint --verbose --fail-fast --include-podspecs=Stagehand.podspec StagehandTesting.podspec
spm:
name: SPM Build
runs-on: macOS-11
runs-on: macos-latest
strategy:
matrix:
platform: ['iOS_13']
fail-fast: false
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Prepare Simulator Runtimes
run: Scripts/github/prepare-simulators.sh ${{ matrix.platform }}
- name: Build
run: Scripts/build.swift spm ${{ matrix.platform }}
bazel:
name: Bazel
runs-on: macOS-13
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Build
run: bazel build //...
run: |
swift build \
--sdk "$(xcode-select -p)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk" \
--triple "arm64-apple-ios13.0"
71 changes: 0 additions & 71 deletions BUILD.bazel

This file was deleted.

20 changes: 0 additions & 20 deletions Bazel/0001-Patch-testonly-swift_library.patch

This file was deleted.

Empty file removed Bazel/BUILD.bazel
Empty file.
28 changes: 0 additions & 28 deletions Bazel/non_bzlmod_deps.bzl

This file was deleted.

29 changes: 0 additions & 29 deletions MODULE.bazel

This file was deleted.

Loading

0 comments on commit 9a646cb

Please sign in to comment.