diff --git a/.github/workflows/swift-arm.yml b/.github/workflows/swift-arm.yml index de3f377a3..a909797f6 100644 --- a/.github/workflows/swift-arm.yml +++ b/.github/workflows/swift-arm.yml @@ -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/install-swift@v0.3.0 + 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 diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 6063c4e07..02a1cc2b7 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -9,7 +9,7 @@ jobs: - name: Install Swift uses: slashmo/install-swift@v0.3.0 with: - version: 5.8 + version: 6.0 - name: Checkout uses: actions/checkout@v2 - name: Swift Version @@ -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