Skip to content

Commit

Permalink
ci: use Swift on PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
georgik committed Nov 1, 2024
1 parent d4084d2 commit 67fa081
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,15 @@ jobs:
sudo apt-get update
sudo apt-get install pkg-config
# - name: Setup Swift
# uses: SwiftyLab/setup-swift@latest
# with:
# development: true

# - name: Install Swift
# run: |
# sudo mv /usr/local/bin/swift* /usr/bin/
# sudo mv /usr/local/lib/swift /usr/lib/

- name: esp-idf build and merge binaries
uses: espressif/[email protected]
env:
SWIFTC: /usr/local/bin/swift
with:
esp_idf_version: latest
target: ${{ env.TARGET }}
path: '.'
command: |
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
tar xzf swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a-ubuntu22.04.tar.gz
export SWIFTC=`pwd`/swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a-ubuntu22.04/usr/bin/swift
export PATH="$PATH:`pwd`/swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a-ubuntu22.04/usr/bin/"
swiftc --version
idf.py @boards/${{ matrix.board }}.cfg build &&
Expand Down

0 comments on commit 67fa081

Please sign in to comment.