-
-
Notifications
You must be signed in to change notification settings - Fork 26
20 lines (19 loc) · 996 Bytes
/
swift-arm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 Bluetooth
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
- name: Build BluetoothGAP
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 BluetoothGAP