Skip to content

Commit

Permalink
ci: 🎡 Improve CI commands
Browse files Browse the repository at this point in the history
Build everything on Linux, and on iOS as well
  • Loading branch information
dirtyhenry committed Jan 8, 2024
1 parent 518e8ad commit 817abf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
uses: actions/checkout@v4
- name: Build debug version
run: |
swift build --target Blocks
swift build
# TODO: Find a way for tests to work in spite of `ObjectiveBlocks`
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ cli:
swift build --package-path Examples/BlocksCLI/

build-ios:
xcodebuild -verbose -scheme Blocks -destination "platform=iOS Simulator,OS=17.0.1" -derivedDataPath "/tmp/" clean build
xcrun xcodebuild -skipMacroValidation -skipPackagePluginValidation clean build -scheme Blocks -destination generic/platform=ios
xcrun xcodebuild -skipMacroValidation -skipPackagePluginValidation clean build -scheme ObjectiveBlocks -destination generic/platform=ios

test-debug:
swift package clean
Expand Down

0 comments on commit 817abf7

Please sign in to comment.