diff --git a/.drone.yml b/.drone.yml index 616d0e5..168e772 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,6 +33,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: + - sudo apt update + - sudo apt install libc6-dev + - uname -a + - ldd --version + - go mod download + - gomobile init + - make android + - sha512sum cwtch.aar + - name: build-linux image: golang:1.19.1 volumes: @@ -41,18 +56,6 @@ steps: commands: - make linux - - name: build-android - image: openpriv/android-go-mobile:2023.02 - volumes: - - name: deps - path: /go - commands: - - uname -a - - ldd --version - - go mod download - - gomobile init - - make android - - name: build-windows image: openpriv/mingw-go:2023.01 environment: