Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revamp CI #185

Merged
merged 57 commits into from
Feb 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
871e99c
wip
davdroman Feb 11, 2023
f2ab66e
wip
davdroman Feb 11, 2023
13c9e9e
wip
davdroman Feb 11, 2023
965655e
wip
davdroman Feb 11, 2023
bc4c605
wip
davdroman Feb 11, 2023
3a3c94a
wip
davdroman Feb 11, 2023
ee7c158
wip
davdroman Feb 11, 2023
4748e55
wip
davdroman Feb 11, 2023
6d84886
wip
davdroman Feb 11, 2023
6b4c8f2
wip
davdroman Feb 11, 2023
0ab6a2d
wip
davdroman Feb 11, 2023
e2de5cc
wip
davdroman Feb 11, 2023
f6a715d
wip
davdroman Feb 11, 2023
690e9d9
wip
davdroman Feb 11, 2023
d91352d
wip
davdroman Feb 11, 2023
cbe35fb
wip
davdroman Feb 11, 2023
dc9f083
wip
davdroman Feb 11, 2023
5f1a0bd
wip
davdroman Feb 11, 2023
11e7b7d
wip
davdroman Feb 11, 2023
de72a10
wip
davdroman Feb 11, 2023
94ad250
wip
davdroman Feb 11, 2023
f4f5ec4
wip
davdroman Feb 11, 2023
8b060db
wip
davdroman Feb 11, 2023
2b631bc
wip
davdroman Feb 11, 2023
78ee90a
wip
davdroman Feb 11, 2023
d8841c6
wip
davdroman Feb 11, 2023
67ae1ef
wip
davdroman Feb 11, 2023
336e5d2
wip
davdroman Feb 11, 2023
7c627ca
wip
davdroman Feb 11, 2023
83aaafb
wip
davdroman Feb 11, 2023
628722e
wip
davdroman Feb 11, 2023
e023024
wip
davdroman Feb 11, 2023
03233de
wip
davdroman Feb 11, 2023
9780990
wip
davdroman Feb 11, 2023
a8fcde9
wip
davdroman Feb 11, 2023
1ef425d
wip
davdroman Feb 11, 2023
bc7b10f
wip
davdroman Feb 11, 2023
3739355
wip
davdroman Feb 11, 2023
ea62c65
wip
davdroman Feb 11, 2023
df0d428
wip
davdroman Feb 11, 2023
6d3d130
wip
davdroman Feb 11, 2023
30d0f95
wip
davdroman Feb 11, 2023
61979a5
wip
davdroman Feb 11, 2023
febd152
wip
davdroman Feb 11, 2023
d78f74b
wip
davdroman Feb 11, 2023
542af2b
wip
davdroman Feb 11, 2023
d320b48
wip
davdroman Feb 11, 2023
2dcb068
wip
davdroman Feb 11, 2023
7aad700
wip
davdroman Feb 11, 2023
fc85618
wip
davdroman Feb 11, 2023
1bd3a5a
wip
davdroman Feb 11, 2023
966d7de
wip
davdroman Feb 11, 2023
0727516
wip
davdroman Feb 11, 2023
0659fa6
experiment
davdroman Feb 11, 2023
fb5d698
wip
davdroman Feb 11, 2023
112432f
wip
davdroman Feb 11, 2023
e4d48c0
wip [skip ci]
davdroman Feb 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 0 additions & 59 deletions .github/workflows/build-and-test.yml

This file was deleted.

64 changes: 64 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: ci

on:
push:
branches:
- master
pull_request:
branches:
- "**"

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
name: ${{ matrix.platform[0] }} ${{ matrix.platform[1] }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
platform:
- [ios, 14]
- [ios, 15]
- [ios, 16]
- [macos, 11]
- [macos, 12]
include:
- platform: [ios, 14]
os: macos-11
xcode: 12.5.1
- platform: [ios, 15]
os: macos-12
xcode: 13.4.1
- platform: [ios, 16]
os: macos-12
xcode: 14.2
- platform: [macos, 11]
os: macos-11
xcode: 13.0
- platform: [macos, 12]
os: macos-12
xcode: 14.0.1

steps:
- name: Git Checkout
uses: actions/checkout@v3

- name: Select Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode }}

# - name: Export macOS SDK
# run: echo SDKROOT=$(xcrun --sdk macosx --show-sdk-path) >> $GITHUB_ENV

- name: Install Homebrew dependencies
run: brew install xcbeautify

- name: Lint Podspec
run: pod lib lint

- name: Run Tests
run: fastlane ${{ matrix.platform[0] }} test version:${{ matrix.platform[1] }}
84 changes: 5 additions & 79 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,87 +1,13 @@
.DS_Store

# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
/.build
/.swiftpm
/Packages
/*.xcodeproj
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# CocoaPods
Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# Accio dependency management
Dependencies/
.accio/

# fastlane
#
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control
.netrc

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

9 changes: 9 additions & 0 deletions Examples/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// swift-tools-version:5.4

import PackageDescription

let package = Package(
name: "Examples",
products: [],
targets: []
)
Loading