-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
561 additions
and
10,736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,5 @@ | |
*.log* | ||
|
||
/mautrix-signal | ||
/mautrix-signalgo | ||
/mautrix-signal-v2 | ||
/start | ||
/libsignal_ffi.a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
include: | ||
- project: 'mautrix/ci' | ||
file: '/go.yml' | ||
- project: 'mautrix/ci' | ||
file: '/gov2.yml' | ||
|
||
variables: | ||
BUILDER_IMAGE: dock.mau.dev/tulir/gomuks-build-docker/signal | ||
BINARY_NAME_V2: mautrix-signal | ||
|
||
# 32-bit arm builds aren't supported | ||
build arm: | ||
rules: | ||
- when: never | ||
|
||
build arm v2: | ||
rules: | ||
- when: never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/sh | ||
MAUTRIX_VERSION=$(cat go.mod | grep 'maunium.net/go/mautrix ' | awk '{ print $2 }') | ||
GO_LDFLAGS="-X main.Tag=$(git describe --exact-match --tags 2>/dev/null) -X main.Commit=$(git rev-parse HEAD) -X 'main.BuildTime=`date '+%b %_d %Y, %H:%M:%S'`' -X 'maunium.net/go/mautrix.GoModVersion=$MAUTRIX_VERSION'" | ||
GO_LDFLAGS="-X main.Tag=$(git describe --exact-match --tags 2>/dev/null) -X main.Commit=$(git rev-parse HEAD) -X 'main.BuildTime=`date -Iseconds`' -X 'maunium.net/go/mautrix.GoModVersion=$MAUTRIX_VERSION'" | ||
if [ "$DBG" = 1 ]; then | ||
GO_GCFLAGS='all=-N -l' | ||
else | ||
GO_LDFLAGS="-s -w ${GO_LDFLAGS}" | ||
fi | ||
go build -gcflags="$GO_GCFLAGS" -ldflags="$GO_LDFLAGS" -o mautrix-signal "$@" | ||
go build -gcflags="$GO_GCFLAGS" -ldflags="$GO_LDFLAGS" -o mautrix-signal ./cmd/mautrix-signal "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
#./build-rust.sh | ||
#cp -f pkg/libsignalgo/libsignal/target/release/libsignal_ffi.a . | ||
LIBRARY_PATH=.:$LIBRARY_PATH ./build-go-v2.sh | ||
./build-rust.sh | ||
cp -f pkg/libsignalgo/libsignal/target/release/libsignal_ffi.a . | ||
LIBRARY_PATH=.:$LIBRARY_PATH ./build-go.sh |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.