Skip to content

Commit

Permalink
Remove Travis and introduce GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
koher committed Sep 15, 2024
1 parent 40b5056 commit 08d17b2
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 106 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Tests"

on:
push:
branches:
- '**'
workflow_dispatch:

jobs:
mac-os:
name: macOS
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- name: Set up Xcode 15
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15'
- name: Build for macOS
run: swift build -c release -v
- name: Test for macOS
run: swift test -c release -v
- name: Set up iOS Simulator
run: |
xcrun simctl boot "iPhone 15 Pro"
- name: Build for iOS
run: xcodebuild -scheme SwiftImage -destination 'platform=iOS Simulator,name=iPhone 15 Pro' build
- name: Test on iOS Simulator
run: xcodebuild -scheme SwiftImage -destination 'platform=iOS Simulator,name=iPhone 15 Pro' test

linux:
name: Linux
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build for Linux
run: swift build -c release -v
- name: Test for Linux
run: swift test -c release -v
104 changes: 0 additions & 104 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
![SwiftImage CI](https://github.com/koher/swift-image/actions/workflows/tests.yml/badge.svg)
# SwiftImage

[![Build Status](https://travis-ci.org/koher/swift-image.svg?branch=master)](https://travis-ci.org/koher/swift-image)

SwiftImage is an image library written in Swift, which provides Swifty APIs and image types with [value semantics](https://developer.apple.com/videos/play/wwdc2015/414/).

```swift
Expand Down

0 comments on commit 08d17b2

Please sign in to comment.