Use a decent operating system
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Sarah Jamie Lewis 2024-01-02 13:51:53 -08:00
parent fc8414a8a9
commit 2baf52a81c
1 changed files with 8 additions and 8 deletions

View File

@ -5,29 +5,29 @@ name: linux-test
steps: steps:
- name: fetch - name: fetch
image: golang:1.21.5 image: golang:1.21.5-bookworm
volumes: volumes:
- name: deps - name: deps
path: /go path: /go
commands: commands:
- go install honnef.co/go/tools/cmd/staticcheck@latest - go install honnef.co/go/tools/cmd/staticcheck@latest
- go install go.uber.org/nilaway/cmd/nilaway@latest - go install go.uber.org/nilaway/cmd/nilaway@latest
- apt search libevent - apt update
- apt install libevent-2 - 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/tor
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc
- chmod a+x tor - chmod a+x tor
- ./tor --version - ./tor --version
- export GO111MODULE=on - export GO111MODULE=on
- name: quality - name: quality
image: golang:1.21.5 image: golang:1.21.5-bookworm
volumes: volumes:
- name: deps - name: deps
path: /go path: /go
commands: commands:
- ./testing/quality.sh - ./testing/quality.sh
- name: units-tests - name: units-tests
image: golang:1.21.5 image: golang:1.21.5-bookworm
volumes: volumes:
- name: deps - name: deps
path: /go path: /go
@ -35,7 +35,7 @@ steps:
- export PATH=$PWD:$PATH - export PATH=$PWD:$PATH
- sh testing/tests.sh - sh testing/tests.sh
- name: integ-test - name: integ-test
image: golang:1.21.5 image: golang:1.21.5-bookworm
volumes: volumes:
- name: deps - name: deps
path: /go path: /go
@ -43,7 +43,7 @@ steps:
- export PATH=$PWD:$PATH - export PATH=$PWD:$PATH
- go test -timeout=30m -race -v cwtch.im/cwtch/testing/ - go test -timeout=30m -race -v cwtch.im/cwtch/testing/
- name: filesharing-integ-test - name: filesharing-integ-test
image: golang:1.21.5 image: golang:1.21.5-bookworm
volumes: volumes:
- name: deps - name: deps
path: /go path: /go
@ -51,7 +51,7 @@ steps:
- export PATH=$PWD:$PATH - export PATH=$PWD:$PATH
- go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing - go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing
- name: filesharing-autodownload-integ-test - name: filesharing-autodownload-integ-test
image: golang:1.21.5 image: golang:1.21.5-bookworm
volumes: volumes:
- name: deps - name: deps
path: /go path: /go