Skip to content

Commit

Permalink
use swift package instead of xcworkspace
Browse files Browse the repository at this point in the history
  • Loading branch information
tgymnich committed Jun 26, 2024
1 parent ef1641b commit 33cb1a2
Show file tree
Hide file tree
Showing 27 changed files with 24 additions and 2,538 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,29 @@ jobs:
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build
run: swift build --build-tests
- name: Run tests
run: swift test
xcode:
runs-on: macos-latest
strategy:
matrix:
scheme: [BigInt-macOS, BigInt-iOS, BigInt-watchOS, BigInt-tvOS]
steps:
- uses: actions/checkout@v2
- name: Build
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme ${{ matrix.scheme }}
linux:
container:
image: swift:${{ matrix.linux }}
runs-on: ubuntu-latest
strategy:
matrix:
linux: [bionic, xenial, focal]
linux: [focal, jammy, noble]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build
run: swift build --build-tests --enable-test-discovery
- name: Test
run: swift test --enable-test-discovery
codecov:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Test and generate code coverage report
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test
run: swift test --enable-code-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
18 changes: 0 additions & 18 deletions BigInt.podspec

This file was deleted.

1,429 changes: 0 additions & 1,429 deletions BigInt.xcodeproj/project.pbxproj

This file was deleted.

7 changes: 0 additions & 7 deletions BigInt.xcodeproj/project.xcworkspace/contents.xcworkspacedata

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 33cb1a2

Please sign in to comment.