2021-03-25 23:42:58 +01:00
|
|
|
name: Build
|
2021-03-25 23:37:34 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: macos-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-03-26 00:19:48 +01:00
|
|
|
- name: Select Xcode
|
2021-03-26 09:05:18 +01:00
|
|
|
run: sudo xcode-select -switch /Applications/Xcode_12.4.app
|
2021-03-27 11:47:52 +01:00
|
|
|
|
2021-03-26 00:19:48 +01:00
|
|
|
- name: Xcode version
|
|
|
|
run: /usr/bin/xcodebuild -version
|
2021-03-26 23:40:44 +01:00
|
|
|
|
|
|
|
- name: Build sdk
|
|
|
|
run: xcodebuild -project wulkanowy.xcodeproj -scheme Sdk build
|
2021-03-27 11:47:52 +01:00
|
|
|
|
|
|
|
- name: Resolve package dependencies
|
|
|
|
run: xcodebuild -resolvePackageDependencies
|
2021-03-27 11:58:18 +01:00
|
|
|
|
|
|
|
- name: Clear cache
|
|
|
|
run: rm -rf ~/Library/Developer/Xcode/DerivedData/ModuleCache
|
2021-03-26 23:40:44 +01:00
|
|
|
|
2021-03-26 09:55:30 +01:00
|
|
|
- name: Build app
|
2021-03-27 12:37:50 +01:00
|
|
|
run: xcodebuild CODE_SIGNING_ALLOWED=NO IPHONEOS_DEPLOYMENT_TARGET=14.4 -workspace wulkanowy.xcworkspace -scheme wulkanowy clean build
|
|
|
|
|
2021-03-26 00:19:48 +01:00
|
|
|
|