Compare commits
14 Commits
Author | SHA1 | Date |
---|---|---|
Sarah Jamie Lewis | 9c24a8a342 | |
Sarah Jamie Lewis | 2debfa2743 | |
Sarah Jamie Lewis | 6b8a31082a | |
Sarah Jamie Lewis | fa53ddc4f8 | |
Sarah Jamie Lewis | 24ba1d22c0 | |
Sarah Jamie Lewis | 26dad1e947 | |
Sarah Jamie Lewis | e1bfa8999c | |
Sarah Jamie Lewis | e8313dd9c8 | |
Sarah Jamie Lewis | 6517171f70 | |
Sarah Jamie Lewis | ddf99ae8ee | |
Sarah Jamie Lewis | 7846574b1b | |
Sarah Jamie Lewis | 13f354f4a6 | |
Sarah Jamie Lewis | 2023069fbc | |
Sarah Jamie Lewis | a0e731de6a |
28
.drone.yml
28
.drone.yml
|
@ -11,9 +11,6 @@ steps:
|
|||
path: /go
|
||||
commands:
|
||||
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
- 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
|
||||
- git fetch --tags
|
||||
#- export GO111MODULE=on
|
||||
#- go mod vendor
|
||||
|
@ -33,6 +30,21 @@ steps:
|
|||
- staticcheck ./...
|
||||
#Todo: fix all the lint errors and add `-set_exit_status` above to enforce linting
|
||||
|
||||
- name: build-android
|
||||
image: openpriv/android-go-mobile:2023.02
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- git checkout tags/v1.10.4 -b v1.10.4
|
||||
- git status
|
||||
- go mod download
|
||||
- gomobile init
|
||||
- ./switch-gomobile.sh
|
||||
- go env
|
||||
- gomobile bind -target android/arm,android/arm64,android/amd64 -trimpath -ldflags="-buildid=$(git describe --tags) -X cwtch.buildVer=$(git describe --tags) -X cwtch.buildDate=$(git log -1 --format=%cd --date=format:%G-%m-%d-%H-%M)"
|
||||
- sha512sum cwtch.aar
|
||||
|
||||
- name: build-linux
|
||||
image: golang:1.19.1
|
||||
volumes:
|
||||
|
@ -41,16 +53,6 @@ steps:
|
|||
commands:
|
||||
- make linux
|
||||
|
||||
- name: build-android
|
||||
image: openpriv/android-go-mobile:2023.02
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- go mod download
|
||||
- gomobile init
|
||||
- make android
|
||||
|
||||
- name: build-windows
|
||||
image: openpriv/mingw-go:2023.01
|
||||
environment:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# NOTE: libcwtch-go has been deprecated in favour of [autobindings](https://git.openprivacy.ca/cwtch.im/autobindings). This repository has been archived and is no longer maintained.
|
||||
|
||||
# libcwtch-go
|
||||
|
||||
C-bindings for the Go Cwtch Library.
|
||||
|
|
|
@ -633,6 +633,7 @@ func (eh *EventHandler) handleProfileEvent(ev *EventProfileEnvelope) string {
|
|||
if err == nil {
|
||||
fsf.ReShareFiles(profile)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue