Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
Update IOKitGamePadInterpreter.swift
  • Loading branch information
STREGA committed Jun 23, 2024
1 parent 4357dec commit 152e608
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 17 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/HTML5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Carton
run: brew install swiftwasm/tap/carton

- name: Test Insecure Context
run: carton test --environment defaultBrowser --host 127.0.0.1
run: swift run carton test --environment defaultBrowser --host 127.0.0.1

- name: Archive
uses: actions/upload-artifact@v3
if: always()
with:
name: Wasm Binary
path: .build/wasm32-unknown-wasi/**/*.wasm
# - name: Archive
# uses: actions/upload-artifact@v3
# if: always()
# with:
# name: Wasm Binary
# path: .build/wasm32-unknown-wasi/**/*.wasm

#TODO: Figure out how to make chrome default without a confirmation
#- name: Make Chrome Default
# run: open -a "Google Chrome" --args --make-default-browser
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:

- name: Install Linux Dependencies
run: sudo apt-get update --fix-missing; sudo apt-get install freeglut3-dev; sudo apt-get install libopenal-dev

- name: Install Swift
curl -L https://swiftlang.github.io/swiftly/swiftly-install.sh | bash
swiftly install 5.10.1

- name: Swift Version
run: swift --version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
steps:
- uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.8.1-release
tag: 5.8.1-RELEASE
branch: swift-5.10.1-release
tag: 5.10.1-RELEASE
- uses: actions/checkout@v3

- name: Swift Version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/iOS-tvOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:

jobs:
Build_Test-macOS-iOS:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v3

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

- name: Swift Version
run: swift --version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:

jobs:
Build_Test-macOS-macOS:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v3

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

- name: Swift Version
run: swift --version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#if canImport(IOKit)
import Foundation
import CoreFoundation
fileprivate import IOKit.hid
import IOKit.hid

private class HIDController {
let guid: SDL2ControllerGUID
Expand Down

0 comments on commit 152e608

Please sign in to comment.