mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 17:38:38 +00:00
build xcode
This commit is contained in:
parent
093faa2c02
commit
a161341bca
22
.github/workflows/build-test.yml
vendored
Normal file
22
.github/workflows/build-test.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Swift
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: macOS-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Force Xcode 11
|
||||||
|
run: sudo xcode-select -switch /Applications/Xcode_11.3.app
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: xcodebuild clean test -project "MTMR.xcodeproj" -scheme "UnitTests"
|
||||||
|
|
||||||
|
- name: Build Archive
|
||||||
|
run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive
|
||||||
|
|
||||||
|
- name: Build App
|
||||||
|
run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release
|
||||||
15
.github/workflows/swift.yml
vendored
15
.github/workflows/swift.yml
vendored
@ -1,15 +0,0 @@
|
|||||||
name: Swift
|
|
||||||
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: macOS-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Build
|
|
||||||
run: swift build -v
|
|
||||||
- name: Run tests
|
|
||||||
run: swift test -v
|
|
||||||
Loading…
Reference in New Issue
Block a user