-
Notifications
You must be signed in to change notification settings - Fork 2
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
d62cafd
commit 873f3f1
Showing
2 changed files
with
37 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: macos-latest | ||
defaults: | ||
run: | ||
working-directory: version2/LifeSpace | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Check Environment | ||
run: | | ||
xcodebuild -version | ||
swift --version | ||
- name: Set Mapbox Credentials | ||
run: | | ||
echo "machine api.mapbox.com" >> ~/.netrc | ||
echo "login mapbox" >> ~/.netrc | ||
echo "password ${{ secrets.MAPBOX_TOKEN }}" >> ~/.netrc | ||
chmod 0600 ~/.netrc | ||
- name: Install Dependencies | ||
run: | | ||
gem install cocoapods | ||
pod install | ||
- name: Build | ||
run: xcodebuild build -workspace LifeSpace.xcworkspace -scheme LifeSpace -destination 'platform=iOS Simulator,name=iPhone 13' |
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