Use a decent operating system
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
fc8414a8a9
commit
2baf52a81c
16
.drone.yml
16
.drone.yml
|
@ -5,29 +5,29 @@ name: linux-test
|
|||
|
||||
steps:
|
||||
- name: fetch
|
||||
image: golang:1.21.5
|
||||
image: golang:1.21.5-bookworm
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
- go install go.uber.org/nilaway/cmd/nilaway@latest
|
||||
- apt search libevent
|
||||
- apt install libevent-2
|
||||
- apt update
|
||||
- apt install libevent-2.1-7
|
||||
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/tor
|
||||
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc
|
||||
- chmod a+x tor
|
||||
- ./tor --version
|
||||
- export GO111MODULE=on
|
||||
- name: quality
|
||||
image: golang:1.21.5
|
||||
image: golang:1.21.5-bookworm
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- ./testing/quality.sh
|
||||
- name: units-tests
|
||||
image: golang:1.21.5
|
||||
image: golang:1.21.5-bookworm
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
|
@ -35,7 +35,7 @@ steps:
|
|||
- export PATH=$PWD:$PATH
|
||||
- sh testing/tests.sh
|
||||
- name: integ-test
|
||||
image: golang:1.21.5
|
||||
image: golang:1.21.5-bookworm
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
|
@ -43,7 +43,7 @@ steps:
|
|||
- export PATH=$PWD:$PATH
|
||||
- go test -timeout=30m -race -v cwtch.im/cwtch/testing/
|
||||
- name: filesharing-integ-test
|
||||
image: golang:1.21.5
|
||||
image: golang:1.21.5-bookworm
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
|
@ -51,7 +51,7 @@ steps:
|
|||
- export PATH=$PWD:$PATH
|
||||
- go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing
|
||||
- name: filesharing-autodownload-integ-test
|
||||
image: golang:1.21.5
|
||||
image: golang:1.21.5-bookworm
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
|
|
Loading…
Reference in New Issue