Skip to content

Commit

Permalink
Change to latest swift ubuntu container
Browse files Browse the repository at this point in the history
  • Loading branch information
dehesa committed Mar 26, 2020
1 parent 823653e commit c010320
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ jobs:
tests_on_Ubuntu:
name: Tests on Ubuntu
runs-on: ubuntu-latest
container:
image: swift:latest
steps:
- uses: actions/checkout@v2
- name: Install Swift Dependencies
run: sudo apt-get install clang libicu-dev
- name: Download Swift
run: wget "https://swift.org/builds/swift-5.2-release/ubuntu1804/swift-5.2-RELEASE/swift-5.2-RELEASE-ubuntu18.04.tar.gz"
- name: Install Swift
run: |
tar xzf swift-5.2-RELEASE-ubuntu18.04.tar.gz
echo "::add-path::$(pwd)/swift-5.2-RELEASE-ubuntu18.04/usr/bin"
- name: Build
run: swift build -v
- name: Run tests
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
</p>

<p align="center">
<img src="docs/Assets/Badges/Swift.svg" alt="Swift 5.1">
<img src="docs/Assets/Badges/Swift.svg" alt="Swift 5.x">
<img src="docs/Assets/Badges/Apple.svg" alt="macOS 10.10+ - iOS 8+ - tvOS 9+ - watchOS 2+">
<img src="docs/Assets/Badges/Linux.svg" alt="Linux">
<img src="docs/Assets/Badges/Ubuntu.svg" alt="Ubuntu 18.04">
<a href="http://doge.mit-license.org"><img src="docs/Assets/Badges/License.svg" alt="MIT License"></a>
</p>

Expand Down
1 change: 0 additions & 1 deletion docs/Assets/Badges/Linux.svg

This file was deleted.

1 change: 1 addition & 0 deletions docs/Assets/Badges/Ubuntu.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c010320

Please sign in to comment.