Commit Graph

9 Commits

Author SHA1 Message Date
Davide De Rosa 1532e8808b [ci skip] Address CI and ASC validation issues
- Skip tests until fixed wg-go issue

- Add golang step

- Set "Apple Development" at project level

- Set Catalyst platform for gym

- Drop TARGET env variable clashing with WireGuardKit

- Disable SwiftGen script phase

- Fix TunnelKit segfault on archive

- Xcode 13.2.1 compatibility
    Fix some issues with @MainActor
    Use #available instead of #unavailable

- Raise timeout from 10 to 15 minutes

- Update beta description

- Tunnel bundle ids cannot have periods

- CFBundleDisplayName required in tunnels
2022-04-13 10:00:29 +02:00
Davide De Rosa 2a5c231d3d
Polish release workflow (#207)
* Do run tests in beta

- Test and build app in same lane
- Run tests with swift directly
- Set timeout on build only
- Set GYM_OUTPUT_DIRECTORY inline
- Fix bad build number, broken in db075eb
- Ignore updates to CHANGELOG for testing
- Drop unnecessary exports
- Drop unnecessary test env
- Drop unused PLATFORM .env.* variable

* Work around gym issues in CI

- Set custom build paths for proper clean-up
- Disable xcpretty (seems to hang job)

* Add descriptive names to workflow

- Rename beta to release
- Add job names

* Optimize release workflow

- Use a matrix for multiplatform build
- Only preinstall platform-specific certificates
- Output app version/build early for job reuse
- Do not depend app review on public beta release
- Pull latest commits before pushing/tagging

In release, ci/* scripts require Ruby. Make version an argument
of the commit-release.sh script to fix dependency.

* Import secret to notify external testers or not

* [ci skip] Add CHANGELOG preface in local scripts

* [ci skip] Update links to release via CI
2021-12-03 15:31:19 +01:00
Davide De Rosa ebaa8f08ff Fix approach to test target
- Test core Swift package, not project
- Commit package schemes to repository
2021-11-06 11:23:10 +01:00
Davide De Rosa da48895335 Move public beta to separate job
- Upload to TestFlight ("Review")
- Public Beta ("Testers", "Public Beta")
- App Review
- App Store
2021-10-16 11:25:54 +02:00
Davide De Rosa 12e8570fcb Split upload and TestFlight jobs 2021-10-08 09:26:21 +02:00
Davide De Rosa 0a6894d82c Rewrite beta local/remote flow
- Merge envs
- Explicit lanes in workflow
2021-10-04 22:54:50 +02:00
Davide De Rosa 72414afe5e Reorganize beta metadata
- Move templates into repository
- Move beta parameters to environment
2021-10-01 19:42:02 +02:00
Davide De Rosa a0be83a499 Set up to upload Mac build to App Store
- Do not skip .pkg for Mac App Store builds (beta)
- Add store_deploy lane
2021-01-06 18:01:28 +01:00
Davide De Rosa 505d79d9d6 Refactor fastlane configuration/environment
Remember skip_package_pkg for macOS.
2021-01-03 22:28:08 +01:00