Skip to content

Commit

Permalink
Update GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Nov 3, 2024
1 parent e84e307 commit 55a61e6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/swift-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ name: Swift ARM
on: [push]
jobs:

macos:
name: Baremetal Embedded ARM
runs-on: macos-latest
steps:
- name: Install Swift
uses: slashmo/[email protected]
with:
version: swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a
- name: Checkout
uses: actions/checkout@v2
- name: Swift Version
run: swift --version
- name: Build (Debug)
run: swift build --triple armv6m-apple-none-macho --configuration release --verbose -Xswiftc -enable-experimental-feature -Xswiftc Embedded -Xswiftc -disable-stack-protector -Xcc -D__MACH__ -Xcc -ffreestanding -Xcc -mcpu=cortex-m0plus -Xcc -mthumb --target Bluetooth

linux-armv7-crosscompile-build:
name: Crosscompile for Linux Armv7
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Install Swift
uses: slashmo/[email protected]
with:
version: 5.8
version: 6.0
- name: Checkout
uses: actions/checkout@v2
- name: Swift Version
Expand All @@ -25,7 +25,7 @@ jobs:
name: Linux
strategy:
matrix:
swift: [5.6.3, 5.7.3, 5.8]
swift: [5.9, 5.10, 6.0]
runs-on: ubuntu-20.04
steps:
- name: Install Swift
Expand Down

0 comments on commit 55a61e6

Please sign in to comment.