File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : SwiftPlot Ubuntu
2
+
3
+ on :
4
+ push :
5
+ branches : master
6
+ pull_request :
7
+
8
+ jobs :
9
+ build :
10
+
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v1
15
+ - name : Install Freetype
16
+ run : sudo apt-get install libfreetype6-dev
17
+ - name : Install Swift Dependencies
18
+ run : sudo apt-get install clang libicu-dev
19
+ - name : Download Swift
20
+ run : wget "https://swift.org/builds/swift-5.1.3-release/ubuntu1804/swift-5.1.3-RELEASE/swift-5.1.3-RELEASE-ubuntu18.04.tar.gz"
21
+ - name : Install Swift
22
+ run : |
23
+ tar xzf swift-5.1.3-RELEASE-ubuntu18.04.tar.gz
24
+ echo "::add-path::$(pwd)/swift-5.1.3-RELEASE-ubuntu18.04/usr/bin"
25
+ - name : Build
26
+ run : swift build -v
27
+ - name : Run tests
28
+ run : swift test -v
29
+ - name : Upload test artefacts
30
+ uses : actions/upload-artifact@v1
31
+ if : always()
32
+ with :
33
+ name : images
34
+ path : ./output
You can’t perform that action at this time.
0 commit comments