mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +00:00
.builds: combine curl and tar to avoid temporary files
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-3
@@ -13,9 +13,7 @@ tasks:
|
||||
- install_go: |
|
||||
mkdir goroot
|
||||
cd goroot
|
||||
curl -s -o go.tar.gz https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
|
||||
tar xzf go.tar.gz
|
||||
rm go.tar.gz
|
||||
curl -s https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz | tar xz
|
||||
- install_android: |
|
||||
mkdir android
|
||||
cd android
|
||||
|
||||
+1
-3
@@ -45,9 +45,7 @@ tasks:
|
||||
- install_go: |
|
||||
mkdir goroot
|
||||
cd goroot
|
||||
curl -s -o go.tar.gz https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
|
||||
tar xzf go.tar.gz
|
||||
rm go.tar.gz
|
||||
curl -s https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz | tar xz
|
||||
- install_gogio: |
|
||||
cd gio/cmd
|
||||
go install ./gogio
|
||||
|
||||
+1
-2
@@ -16,8 +16,7 @@ tasks:
|
||||
- install_go: |
|
||||
mkdir goroot
|
||||
cd goroot
|
||||
curl -s -o go.tar.gz https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
|
||||
tar xzf go.tar.gz
|
||||
curl -s https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz | tar xz
|
||||
- test_gio: |
|
||||
cd gio
|
||||
go test ./...
|
||||
|
||||
Reference in New Issue
Block a user