Skip to content

Commit

Permalink
Split out libraries into SPM packages (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgoedjen authored Jan 2, 2022
1 parent f249932 commit 3f34e91
Show file tree
Hide file tree
Showing 102 changed files with 1,158 additions and 2,520 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
- name: Set Environment
run: sudo xcrun xcode-select -s /Applications/Xcode_13.2.1.app
- name: Test
run: xcrun xcodebuild test -project Secretive.xcodeproj -scheme Secretive
run: |
pushd Sources/Packages
swift test
popd
build:
runs-on: macos-11.0
timeout-minutes: 10
Expand All @@ -45,11 +48,11 @@ jobs:
RUN_ID: ${{ github.run_id }}
run: |
export CLEAN_TAG=$(echo $TAG_NAME | sed -e 's/refs\/tags\/v//')
sed -i '' -e "s/GITHUB_CI_VERSION/$CLEAN_TAG/g" Config/Config.xcconfig
sed -i '' -e "s/GITHUB_BUILD_NUMBER/1.$RUN_ID/g" Config/Config.xcconfig
sed -i '' -e "s/GITHUB_BUILD_URL/https:\/\/github.com\/maxgoedjen\/secretive\/actions\/runs\/$RUN_ID/g" Secretive/Credits.rtf
sed -i '' -e "s/GITHUB_CI_VERSION/$CLEAN_TAG/g" Sources/Config/Config.xcconfig
sed -i '' -e "s/GITHUB_BUILD_NUMBER/1.$RUN_ID/g" Sources/Config/Config.xcconfig
sed -i '' -e "s/GITHUB_BUILD_URL/https:\/\/github.com\/maxgoedjen\/secretive\/actions\/runs\/$RUN_ID/g" Sources/Secretive/Credits.rtf
- name: Build
run: xcrun xcodebuild -project Secretive.xcodeproj -scheme Secretive -configuration Release -archivePath Archive.xcarchive archive
run: xcrun xcodebuild -project Sources/Secretive.xcodeproj -scheme Secretive -configuration Release -archivePath Archive.xcarchive archive
- name: Create ZIPs
run: |
ditto -c -k --sequesterRsrc --keepParent Archive.xcarchive/Products/Applications/Secretive.app ./Secretive.zip
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ jobs:
- name: Set Environment
run: sudo xcrun xcode-select -s /Applications/Xcode_13.2.1.app
- name: Test
run: xcrun xcodebuild test -project Secretive.xcodeproj -scheme Secretive
run: |
pushd Sources/Packages
swift test
popd
19 changes: 0 additions & 19 deletions Brief/Brief.h

This file was deleted.

24 changes: 0 additions & 24 deletions Brief/Info.plist

This file was deleted.

50 changes: 0 additions & 50 deletions Config/Secretive.xctestplan

This file was deleted.

24 changes: 0 additions & 24 deletions SecretAgentKit/Info.plist

This file was deleted.

22 changes: 0 additions & 22 deletions SecretAgentKitTests/Info.plist

This file was deleted.

24 changes: 0 additions & 24 deletions SecretKit/Info.plist

This file was deleted.

11 changes: 0 additions & 11 deletions SecretKit/SecretKit.h

This file was deleted.

22 changes: 0 additions & 22 deletions SecretKitTests/Info.plist

This file was deleted.

Loading

0 comments on commit 3f34e91

Please sign in to comment.