File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build-pico-sdk :
14- runs-on : ubuntu-22.04
15- container : swiftlang/swift:nightly-main-jammy
14+ runs-on : ubuntu-24.04
1615 strategy :
1716 fail-fast : false
1817 matrix :
2120 board : pico
2221 - name : pico-w-blink-sdk
2322 board : pico_w
23+ swift : [swift-DEVELOPMENT-SNAPSHOT-2024-12-04-a]
2424
2525 steps :
2626 - name : Checkout repo
@@ -38,19 +38,27 @@ jobs:
3838 echo "PATH=$PATH" >> $GITHUB_ENV
3939 cmake --version
4040
41+ - name : Install GNU ARM toolchain
42+ run : |
43+ ARCH=`uname -m`
44+ curl -sL https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-$ARCH-arm-none-eabi.tar.xz -O
45+ tar xf arm-gnu-toolchain-13.3.rel1-$ARCH-arm-none-eabi.tar.xz
46+
47+ - name : Install ${{ matrix.swift }}
48+ run : |
49+ wget -q https://download.swift.org/development/ubuntu2404/${{ matrix.swift }}/${{ matrix.swift }}-ubuntu24.04.tar.gz
50+ tar xzf ${{ matrix.swift }}-ubuntu24.04.tar.gz
51+ export PATH="$PATH:`pwd`/${{ matrix.swift }}-ubuntu24.04/usr/bin/"
52+ echo "PATH=$PATH" >> $GITHUB_ENV
53+ swiftc --version
54+
4155 - name : Clone Pico SDK
4256 run : |
4357 git clone https://github.com/raspberrypi/pico-sdk.git
4458 cd pico-sdk
4559 git submodule update --init --recursive
4660 cd ..
4761
48- - name : Download GNU ARM toolchain
49- run : |
50- ARCH=`uname -m`
51- curl -sL https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-$ARCH-arm-none-eabi.tar.xz -O
52- tar xf arm-gnu-toolchain-13.3.rel1-$ARCH-arm-none-eabi.tar.xz
53-
5462 - name : Set Pico environment variables
5563 run : |
5664 ARCH=`uname -m`
You can’t perform that action at this time.
0 commit comments