forked from loafle/openapi-generator-original
* [swift5][client] fix URLSession warning of URLSessionProtocol conformance * [swift5][client] fix URLSession warning of URLSessionProtocol conformance * [swift5][client] update bitrise config * [swift5][client] enable async await sample project on CI * [swift5][client] update bitrise config * [swift5][client] update bitrise config * [swift5][client] try to fix CI
46 lines
1012 B
YAML
46 lines
1012 B
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@6.2.1: {}
|
|
- brew-install@0.12.1:
|
|
inputs:
|
|
- packages: maven
|
|
- script@1.2.0:
|
|
title: Install Cocoapods
|
|
inputs:
|
|
- content: |
|
|
#!/usr/bin/env bash
|
|
|
|
sudo gem install cocoapods
|
|
- script@1.2.0:
|
|
inputs:
|
|
- content: |
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
mvn --no-snapshot-updates package -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
|
title: Build openapi-generator
|
|
- script@1.2.0:
|
|
title: Run Swift5 tests
|
|
inputs:
|
|
- content: |
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
./samples/client/petstore/swift5/swift5_test_all.sh
|
|
|
|
meta:
|
|
bitrise.io:
|
|
stack: osx-xcode-14.1.x
|