Skip to content

Instantly share code, notes, and snippets.

@oboje
Created October 29, 2019 13:06
Show Gist options
  • Save oboje/6758bd81fbb58a07240a98dacb1a5e8f to your computer and use it in GitHub Desktop.
Save oboje/6758bd81fbb58a07240a98dacb1a5e8f to your computer and use it in GitHub Desktop.
version: 2
# TODO: get rid of ios/ in paths
jobs:
build-and-test:
macos:
xcode: "11.0"
steps:
- attach_workspace:
at: ~/project
- checkout
- run: npm install @openapitools/openapi-generator-cli -g
- run: sh ios/spec_validate.sh
- run: sh ios/code_gen.sh
- run: ./ios/tools/xcodegen/bin/xcodegen -s ios/df_project.yml
- run: xcodebuild -project ios/DataFoundation.xcodeproj -configuration Release
- store_artifacts:
path: ./ios/gen
- store_artifacts:
path: ./ios/build/Release-iphoneos/
#- run: sh ios/git_push.sh
workflows:
version: 2
build-test-adhoc:
jobs:
- build-and-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment