Skip to content

Commit

Permalink
Merge pull request #42 from Bouke/quite-swift-install
Browse files Browse the repository at this point in the history
Update Swift install on Github CI
  • Loading branch information
Bouke committed Nov 30, 2020
2 parents 85e5112 + a924490 commit d8c6507
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
- name: Setup Swift ${{ matrix.swift }}
run: |
sudo apt install libavahi-compat-libdnssd-dev
wget https://swift.org/builds/swift-${{ matrix.swift }}-release/ubuntu1804/swift-${{ matrix.swift }}-RELEASE/swift-${{ matrix.swift }}-RELEASE-ubuntu18.04.tar.gz
wget --no-verbose https://swift.org/builds/swift-${{ matrix.swift }}-release/ubuntu1804/swift-${{ matrix.swift }}-RELEASE/swift-${{ matrix.swift }}-RELEASE-ubuntu18.04.tar.gz
tar xzf swift-${{ matrix.swift }}-RELEASE-ubuntu18.04.tar.gz
export PATH=`pwd`/swift-${{ matrix.swift }}-RELEASE-ubuntu18.04/usr/bin:"${PATH}"
echo `pwd`/swift-${{ matrix.swift }}-RELEASE-ubuntu18.04/usr/bin >> $GITHUB_PATH
- name: Verify Swift version
run: swift -version | grep ${{ matrix.swift }}
- name: Run Tests
run: swift test
- name: Run dns-sd tool
Expand Down

0 comments on commit d8c6507

Please sign in to comment.