Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/SwiftPlot_Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
branches: master
pull_request:

env:
SWIFT_VERSION: 5.2.1

jobs:
build:

Expand All @@ -19,12 +16,10 @@ jobs:
run: sudo apt-get install libfreetype6-dev
- name: Install Swift Dependencies
run: sudo apt-get install clang libicu-dev
- name: Download Swift
run: wget "https://swift.org/builds/swift-${{ env.SWIFT_VERSION }}-release/ubuntu1804/swift-${{ env.SWIFT_VERSION }}-RELEASE/swift-${{ env.SWIFT_VERSION }}-RELEASE-ubuntu18.04.tar.gz"
- name: Install Swift
run: |
tar xzf swift-${{ env.SWIFT_VERSION }}-RELEASE-ubuntu18.04.tar.gz
echo "::add-path::$(pwd)/swift-${{ env.SWIFT_VERSION }}-RELEASE-ubuntu18.04/usr/bin"
uses: fwal/setup-swift@v1
with:
swift-version: "5.4"
- name: Build
run: swift build -v
- name: Run tests
Expand Down