Skip to content

Commit

Permalink
Create GitHub Action (#7)
Browse files Browse the repository at this point in the history
- Add GitHub actions
- Remove travis
- Remove pod lib lint check
  • Loading branch information
maxxfrazer authored Aug 27, 2019
1 parent 52ef2c4 commit 1bed224
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/swift-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

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

jobs:
build:

runs-on: macOS-latest

steps:
- uses: actions/checkout@v1
- name: Run Build
run: |
./install_swiftlint.sh
swiftlint
swift package generate-xcodeproj
xcodebuild clean build -project $PROJECT -scheme $SCHEME -destination "$DESTINATION" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
env:
PROJECT: SCNPath.xcodeproj
SCHEME: SCNPath-Package
DESTINATION: platform=iOS Simulator,name=iPhone Xs
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ I'm hoping to add RealityKit support once it is possible to generate meshes. (If
[![Platform](https://img.shields.io/cocoapods/p/SCNPath.svg)](https://cocoapods.org/pods/SCNPath)
[![Swift Package Manager](https://img.shields.io/badge/Swift_Package_Manager-v1.2.0-orange.svg?style=flat)](https://github.com/apple/swift-package-manager)
[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://swift.org/)
[![Build Status](https://travis-ci.com/maxxfrazer/ARKit-SCNPath.svg?branch=master)](https://travis-ci.com/maxxfrazer/ARKit-SCNPath)
[![Actions Status](https://github.com/maxxfrazer/ARKit-SCNPath/workflows/swift-build/badge.svg)](https://github.com/maxxfrazer/ARKit-SCNPath/actions)

## Introduction

Expand Down

0 comments on commit 1bed224

Please sign in to comment.