mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
.builds: silence apt-get, curl commands
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+4
-4
@@ -38,7 +38,7 @@ secrets:
|
|||||||
tasks:
|
tasks:
|
||||||
- install_go1_14: |
|
- install_go1_14: |
|
||||||
mkdir -p /home/build/sdk
|
mkdir -p /home/build/sdk
|
||||||
curl https://dl.google.com/go/go1.14.linux-amd64.tar.gz | tar -C /home/build/sdk -xzf -
|
curl -s https://dl.google.com/go/go1.14.linux-amd64.tar.gz | tar -C /home/build/sdk -xzf -
|
||||||
- test_gio: |
|
- test_gio: |
|
||||||
cd gio
|
cd gio
|
||||||
export EGL_PLATFORM=surfaceless # for headless tests
|
export EGL_PLATFORM=surfaceless # for headless tests
|
||||||
@@ -48,8 +48,8 @@ tasks:
|
|||||||
- install_chrome: |
|
- install_chrome: |
|
||||||
curl -s https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
curl -s https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
||||||
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
|
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
|
||||||
sudo apt update
|
sudo apt-get -qq update
|
||||||
sudo apt install -y google-chrome-stable
|
sudo apt-get -qq install -y google-chrome-stable
|
||||||
- test_cmd: |
|
- test_cmd: |
|
||||||
cd gio/cmd
|
cd gio/cmd
|
||||||
go test ./...
|
go test ./...
|
||||||
@@ -58,7 +58,7 @@ tasks:
|
|||||||
GOFLAGS=-modfile=../go.local.mod go test
|
GOFLAGS=-modfile=../go.local.mod go test
|
||||||
- install_jdk8: |
|
- install_jdk8: |
|
||||||
curl -so jdk.deb "https://cdn.azul.com/zulu/bin/zulu8.42.0.21-ca-jdk8.0.232-linux_amd64.deb"
|
curl -so jdk.deb "https://cdn.azul.com/zulu/bin/zulu8.42.0.21-ca-jdk8.0.232-linux_amd64.deb"
|
||||||
sudo apt install -y -f ./jdk.deb
|
sudo apt-get -qq install -y -f ./jdk.deb
|
||||||
- install_android: |
|
- install_android: |
|
||||||
mkdir android
|
mkdir android
|
||||||
cd android
|
cd android
|
||||||
|
|||||||
Reference in New Issue
Block a user