Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test M1 macOS larger runner for GitHub Actions #369

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 21 additions & 23 deletions .github/workflows/ci.yml
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'
Loading