-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c496cc
commit e9368d6
Showing
1 changed file
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
name: CI | ||
|
||
# This action is disabled until we can run it on Apple Silicon powered macOS runners - https://github.com/github/roadmap/issues/528 | ||
on: | ||
push: | ||
branches: [ "main", "develop" ] | ||
pull_request: | ||
|
||
# on: | ||
# push: | ||
# branches: [ "main", "develop" ] | ||
# pull_request: | ||
|
||
# jobs: | ||
# test: | ||
# name: Unit and UI Tests | ||
# runs-on: macOS-latest | ||
# steps: | ||
# - uses: actions/setup-go@v2 | ||
# with: | ||
# go-version: 1.18 | ||
# - uses: actions/checkout@v2 | ||
# - name: Set up config files | ||
# run: | | ||
# cp IVPNClient/Config/staging.template.xcconfig IVPNClient/Config/staging.xcconfig | ||
# cp IVPNClient/Config/release.template.xcconfig IVPNClient/Config/release.xcconfig | ||
# cp IVPNClient/Config/OpenVPNConf.template.swift IVPNClient/Config/OpenVPNConf.swift | ||
# cp fastlane/Appfile.template fastlane/Appfile | ||
# - name: Build and test | ||
# run: xcodebuild test -scheme IVPNClient -destination 'platform=iOS Simulator,name=iPhone 14' | ||
jobs: | ||
test: | ||
name: Unit and UI Tests | ||
runs-on: macos-13-xlarge | ||
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18 | ||
- uses: actions/checkout@v2 | ||
- name: Set up config files | ||
run: | | ||
cp IVPNClient/Config/staging.template.xcconfig IVPNClient/Config/staging.xcconfig | ||
cp IVPNClient/Config/release.template.xcconfig IVPNClient/Config/release.xcconfig | ||
cp IVPNClient/Config/OpenVPNConf.template.swift IVPNClient/Config/OpenVPNConf.swift | ||
cp fastlane/Appfile.template fastlane/Appfile | ||
- name: Build and test | ||
run: xcodebuild test -scheme IVPNClient -destination 'platform=iOS Simulator,name=iPhone 14' |