You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1016 B
28 lines
1016 B
8 months ago
|
mkfs -t ext4 /dev/vdb
|
||
|
mkdir /mount
|
||
|
mount -t auto /dev/vdb /mount
|
||
|
cd /mount
|
||
|
mkdir gopath
|
||
|
mkdir /drone
|
||
|
wget https://go.dev/dl/go1.19.1.linux-amd64.tar.gz
|
||
|
@!check go1.19.1.linux-amd64.tar.gz a69153393a2eaf1c2b77f5a4bafe6a2fb36368c6856d79bd697472af71d925fc62c58e6b8fe75adf143b0462da2ed9e68d0fcd0328cde091be70d745b92814aa
|
||
|
tar -xzf go1.19.1.linux-amd64.tar.gz
|
||
|
apt update
|
||
8 months ago
|
apt install -y --no-install-recommends git wget libc6-dev make gcc
|
||
8 months ago
|
ln -s /mount/go /usr/local/go
|
||
|
ln -s /mount/gopath /go
|
||
|
ln -s /mount/libcwtch-go /drone/src/
|
||
|
export GOROOT="/usr/local/go"
|
||
|
export GOPATH="/go"
|
||
|
export GOCACHE="/tmp/gocache"
|
||
|
export PATH="/usr/local/go/bin/:$PATH"
|
||
|
go version
|
||
|
git clone https://git.openprivacy.ca/cwtch.im/libcwtch-go
|
||
|
git fetch --tags
|
||
8 months ago
|
git checkout tags/v1.10.2 -b v1.10.2
|
||
8 months ago
|
cd libcwtch-go
|
||
|
echo `git describe --tags` > VERSION
|
||
|
go mod download
|
||
|
make linux
|
||
|
@%sha512sum libCwtch.so
|
||
8 months ago
|
@!check libCwtch.so b65c62ecf1c1ce6949d87b0e728d264a306ed3cabe011658a2c83cfde8277236ba8cf4722fa5df761050d06d24aae0d538434899ad338527b4e78032226f93eb
|