File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ jobs:
49
49
sudo apt-get update
50
50
sudo apt-get install pkg-config
51
51
52
- - name : Setup Swift
53
- uses : SwiftyLab/setup-swift@latest
54
- with :
55
- development : true
52
+ # - name: Setup Swift
53
+ # uses: SwiftyLab/setup-swift@latest
54
+ # with:
55
+ # development: true
56
56
57
- - name : Move Swift
58
- run : |
59
- sudo mv /usr/local/bin/swift* /usr/bin/
60
- sudo mv /usr/local/lib/swift /usr/lib/
57
+ # - name: Install Swift
58
+ # run: |
59
+ # sudo mv /usr/local/bin/swift* /usr/bin/
60
+ # sudo mv /usr/local/lib/swift /usr/lib/
61
61
62
62
- name : esp-idf build and merge binaries
63
63
68
68
target : ${{ env.TARGET }}
69
69
path : ' .'
70
70
command : |
71
- /usr/local/bin/swift --version
71
+ wget https://download.swift.org/development/ubuntu2204/swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a/swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a-ubuntu22.04.tar.gz
72
+ tar xzf swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a-ubuntu22.04.tar.gz
73
+ export SWIFTC=`pwd`/swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a-ubuntu20.04/usr/bin/swift
74
+ export PATH="$PATH:`pwd`/swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a-ubuntu20.04/usr/bin/"
75
+ swiftc --version
72
76
idf.py @boards/${{ matrix.board }}.cfg build &&
73
77
cd build.${{ matrix.board }} &&
74
78
esptool.py --chip ${{ env.TARGET }} merge_bin -o ${{ github.event.inputs.prefix }}-${{ matrix.board }}.bin "@flash_args"
You can’t perform that action at this time.
0 commit comments