Skip to content

Commit

Permalink
ci: cache builds for improve build times
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Mar 28, 2024
1 parent a701bb1 commit f0e6d00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ jobs:
name: Test Library (Darwin)
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select Xcode 15.2
run: sudo xcode-select -s /Applications/Xcode_15.2.app
- uses: actions/cache@v3
with:
path: tmp/derived-data
key: derived-data-cache-
- name: Run tests
run: make test-library

Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ test-library:
-skipMacroValidation \
-workspace supabase-swift.xcworkspace \
-scheme Supabase \
-derivedDataPath /tmp/derived-data \
-destination platform="$$platform" || exit 1; \
done;

Expand Down

0 comments on commit f0e6d00

Please sign in to comment.