Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules: un-modulify libsignalgo and signalmeow #399

Merged
merged 2 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,8 @@ jobs:
run: |
curl -L https://mau.dev/tulir/gomuks-build-docker/-/jobs/artifacts/master/raw/libsignal_ffi.a?job=libsignal%20linux%20amd64 -o libsignal_ffi.a

- name: Run libsignalgo tests
- name: Run tests
run: |
set -euo pipefail
export LIBRARY_PATH=.
go test -v -ldflags "-extldflags -lm" -json ./pkg/libsignalgo -cover | gotestfmt || true

- name: Run bridge tests
run: |
set -euo pipefail
export LIBRARY_PATH=.
go test -v -json ./... -cover | gotestfmt
go test -v -ldflags "-extldflags -lm" -json ./... -cover | gotestfmt
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require (
github.com/google/uuid v1.5.0
github.com/gorilla/mux v1.8.0
github.com/lib/pq v1.10.9
github.com/mattn/go-pointer v0.0.1
github.com/mattn/go-sqlite3 v1.14.19
github.com/prometheus/client_golang v1.17.0
github.com/rs/zerolog v1.31.0
Expand All @@ -14,11 +15,14 @@ require (
github.com/stretchr/testify v1.8.4
go.mau.fi/util v0.2.1
go.mau.fi/webp v0.1.0
golang.org/x/crypto v0.16.0
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
golang.org/x/image v0.14.0
golang.org/x/net v0.18.0
google.golang.org/protobuf v1.31.0
maunium.net/go/maulogger/v2 v2.4.1
maunium.net/go/mautrix v0.16.3-0.20231219134117-a27bf782f377
nhooyr.io/websocket v1.8.10
)

require (
Expand All @@ -31,7 +35,6 @@ require (
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-pointer v0.0.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
Expand All @@ -43,11 +46,8 @@ require (
github.com/tidwall/sjson v1.2.5 // indirect
github.com/yuin/goldmark v1.6.0 // indirect
go.mau.fi/zeroconfig v0.1.2 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/sys v0.15.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
maunium.net/go/mauflag v1.0.0 // indirect
nhooyr.io/websocket v1.8.10 // indirect
)
7 changes: 0 additions & 7 deletions go.work

This file was deleted.

106 changes: 0 additions & 106 deletions go.work.sum

This file was deleted.

19 changes: 0 additions & 19 deletions pkg/libsignalgo/go.mod

This file was deleted.

29 changes: 0 additions & 29 deletions pkg/libsignalgo/go.sum

This file was deleted.

20 changes: 0 additions & 20 deletions pkg/signalmeow/go.mod

This file was deleted.

39 changes: 0 additions & 39 deletions pkg/signalmeow/go.sum

This file was deleted.

Loading