Skip to content

Commit 152e608

Browse files
committed
Update workflows
Update IOKitGamePadInterpreter.swift
1 parent 4357dec commit 152e608

File tree

6 files changed

+19
-17
lines changed

6 files changed

+19
-17
lines changed

.github/workflows/HTML5.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,16 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3
1717

18-
- name: Install Carton
19-
run: brew install swiftwasm/tap/carton
20-
2118
- name: Test Insecure Context
22-
run: carton test --environment defaultBrowser --host 127.0.0.1
19+
run: swift run carton test --environment defaultBrowser --host 127.0.0.1
2320

24-
- name: Archive
25-
uses: actions/upload-artifact@v3
26-
if: always()
27-
with:
28-
name: Wasm Binary
29-
path: .build/wasm32-unknown-wasi/**/*.wasm
21+
# - name: Archive
22+
# uses: actions/upload-artifact@v3
23+
# if: always()
24+
# with:
25+
# name: Wasm Binary
26+
# path: .build/wasm32-unknown-wasi/**/*.wasm
27+
3028
#TODO: Figure out how to make chrome default without a confirmation
3129
#- name: Make Chrome Default
3230
# run: open -a "Google Chrome" --args --make-default-browser

.github/workflows/Linux.yml

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919

2020
- name: Install Linux Dependencies
2121
run: sudo apt-get update --fix-missing; sudo apt-get install freeglut3-dev; sudo apt-get install libopenal-dev
22+
23+
- name: Install Swift
24+
curl -L https://swiftlang.github.io/swiftly/swiftly-install.sh | bash
25+
swiftly install 5.10.1
2226

2327
- name: Swift Version
2428
run: swift --version

.github/workflows/Windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
steps:
1515
- uses: compnerd/gha-setup-swift@main
1616
with:
17-
branch: swift-5.8.1-release
18-
tag: 5.8.1-RELEASE
17+
branch: swift-5.10.1-release
18+
tag: 5.10.1-RELEASE
1919
- uses: actions/checkout@v3
2020

2121
- name: Swift Version

.github/workflows/iOS-tvOS.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ on:
1010

1111
jobs:
1212
Build_Test-macOS-iOS:
13-
runs-on: macos-13
13+
runs-on: macos-14
1414
steps:
1515
- uses: actions/checkout@v3
1616

1717
- name: Select Xcode version
18-
run: sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer'
18+
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer'
1919

2020
- name: Swift Version
2121
run: swift --version

.github/workflows/macOS.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ on:
1010

1111
jobs:
1212
Build_Test-macOS-macOS:
13-
runs-on: macos-13
13+
runs-on: macos-14
1414
steps:
1515
- uses: actions/checkout@v3
1616

1717
- name: Select Xcode version
18-
run: sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer'
18+
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer'
1919

2020
- name: Swift Version
2121
run: swift --version

Sources/GateEngine/System/HID/GamePad/GamePadInterpreter/Interpreters/HID/IOKitGamePadInterpreter.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#if canImport(IOKit)
88
import Foundation
99
import CoreFoundation
10-
fileprivate import IOKit.hid
10+
import IOKit.hid
1111

1212
private class HIDController {
1313
let guid: SDL2ControllerGUID

0 commit comments

Comments
 (0)