mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 12:40:53 +00:00
* minor fix to swift4 scripts * fix script * update bitrise config * update doc * run swift4_test_all.sh directly * make swift4 script executable
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
---
|
|
format_version: '8'
|
|
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
|
|
project_type: other
|
|
trigger_map:
|
|
- push_branch: "*"
|
|
workflow: primary
|
|
- pull_request_source_branch: "*"
|
|
workflow: primary
|
|
workflows:
|
|
primary:
|
|
steps:
|
|
- git-clone@4.0.17: {}
|
|
- brew-install@0.10.2:
|
|
inputs:
|
|
- packages: maven
|
|
- script@1.1.5:
|
|
title: Install Cocoapods
|
|
inputs:
|
|
- content: |
|
|
#!/usr/bin/env bash
|
|
|
|
sudo gem install cocoapods
|
|
- script@1.1.5:
|
|
inputs:
|
|
- content: |
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
mvn package
|
|
title: Build openapi-generator
|
|
- script@1.1.5:
|
|
title: Update Swift4 samples
|
|
inputs:
|
|
- content: |
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
sh bin/swift4-all.sh
|
|
- script@1.1.5:
|
|
inputs:
|
|
- content: |
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
./samples/client/petstore/swift4/swift4_test_all.sh && ./samples/client/test/swift4/swift4_test_all.sh && exit ${PIPESTATUS[0]}
|
|
title: Run Swift4 tests
|
|
|