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

Adds GitHub Action for Linux tests #21

Merged
merged 1 commit into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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.