Skip to content

Commit

Permalink
Adds GitHub Action for Linux tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrodputman committed Jul 9, 2023
1 parent 3444a9f commit abe4fcc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 26 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/RunTests-macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ on: [pull_request]

jobs:
build:

runs-on: macos-13

name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, ubuntu-latest]
swift: ["5.8"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Select Xcode 15 beta
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v3
- name: Build
run: swift build
- name: Run tests
run: swift test
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// swift-tools-version:5.9
// swift-tools-version:5.8

import PackageDescription

let package = Package(
name: "SwiftNES",
platforms: [.macOS(.v13), .iOS(.v17), .tvOS(.v17)],
platforms: [.macOS(.v13), .iOS(.v16), .tvOS(.v16)],
products: [
.library(
name: "SwiftNES",
Expand Down
8 changes: 0 additions & 8 deletions Tests/LinuxMain.swift

This file was deleted.

10 changes: 0 additions & 10 deletions Tests/SwiftNESTests/XCTestManifests.swift

This file was deleted.

0 comments on commit abe4fcc

Please sign in to comment.