Skip to content

Commit

Permalink
Bumped version.Added new arch: i686
Browse files Browse the repository at this point in the history
  • Loading branch information
varbhat committed Mar 13, 2022
1 parent f84f1f8 commit 15d4e8c
Show file tree
Hide file tree
Showing 8 changed files with 296 additions and 229 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
xbps-install -Syu || xbps-install -yu xbps
xbps-install -yu
- name: Install Packages
run: xbps-install -Sy git wget bash make go nodejs cross-x86_64-linux-musl cross-aarch64-linux-musl cross-x86_64-w64-mingw32 clang github-cli zstd tar
run: xbps-install -Sy git wget bash make go nodejs cross-x86_64-linux-musl cross-i686-linux-musl cross-aarch64-linux-musl cross-x86_64-w64-mingw32 clang github-cli zstd tar
- name: Checkout repository
uses: actions/checkout@v2
- name: Build exatorrent for Linux (amd64 and arm64) and Win (amd64)
run: go mod tidy && make web && make app-linux-amd64 && make app-linux-arm64 && make app-win-amd64
run: go mod tidy && make web && make app-linux-amd64 && make app-linux-arm64 && make app-linux-x86 && make app-win-amd64
- name: Setup crossmac and Build for MacOS
run: |
wget "https://github.com/varbhat/crossmac/releases/latest/download/crossmac.tar.zst"
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ app-linux-amd64:
app-linux-arm64:
env CGO_ENABLED=1 GOOS="linux" GOARCH="arm64" CC="aarch64-linux-musl-gcc" CXX="aarch64-linux-musl-g++" go build -trimpath -buildmode=pie -ldflags '-extldflags "-static -s -w"' -o build/$(APP_NAME)-linux-arm64 $(MAIN_SOURCE)

##app-linux-x86: Build the Application for linux (x86 32bit)
.PHONY: app-linux-x86
app-linux-x86:
env CGO_ENABLED=1 GOOS="linux" GOARCH="386" CC="i686-linux-musl-gcc" CXX="i686-linux-musl-g++" go build -trimpath -ldflags '-extldflags "-static -s -w"' -o build/$(APP_NAME)-linux-x86 $(MAIN_SOURCE)

##app-darwin-amd64: Build the Application for MacOS (amd64)
.PHONY: app-darwin-amd64
app-darwin-amd64:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
## Installation
* **Releases:**

* exatorrent built executables are provided for Linux([amd64](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-linux-amd64) and [arm64](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-linux-arm64)), MacOS([Intel](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-darwin-amd64) and [Apple Silicon](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-darwin-arm64)) and Windows([amd64](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-win-amd64.exe)).
* exatorrent built executables are provided for Linux([amd64](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-linux-amd64), [arm64](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-linux-arm64),[x86-32bit](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-linux-x86)), MacOS([Intel](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-darwin-amd64) and [Apple Silicon](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-darwin-arm64)) and Windows([amd64](https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-win-amd64.exe)).
* You can download binary for your OS from [Releases](https://github.com/varbhat/exatorrent/releases/latest) . Mark it as executable and run it . Refer [Usage](docs/usage.md) .
```bash
wget https://github.com/varbhat/exatorrent/releases/latest/download/exatorrent-linux-amd64
Expand Down Expand Up @@ -86,7 +86,7 @@ Communication about the project is primarily through the [Issues](https://github
You are welcome to contribute. You can contribute code,documentation,icon or anything that you think benefits the project. If you want to implement any significant feature, please discuss it first.

## Thanks
Special Thanks to [anacrolix/torrent](https://github.com/anacrolix/torrent), Programming Languages and Libraries used in `exatorrent`, Awesome IDEs of [Jetbrains](https://jb.gg/OpenSource) and Users for making this project happen.
Special Thanks to [anacrolix/torrent](https://github.com/anacrolix/torrent), Programming Languages and Libraries used in `exatorrent` and Users for making this project happen.

## License
[GPL-v3](LICENSE)
26 changes: 13 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ require (
crawshaw.io/sqlite v0.3.3-0.20210127221821-98b1f83c5508
github.com/anacrolix/chansync v0.3.0
github.com/anacrolix/go-libutp v1.2.0
github.com/anacrolix/log v0.12.0
github.com/anacrolix/log v0.13.1
github.com/anacrolix/torrent v1.41.0
github.com/google/uuid v1.3.0
github.com/gorilla/websocket v1.5.0
github.com/jackc/pgx/v4 v4.15.0
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
github.com/shirou/gopsutil v3.21.11+incompatible
golang.org/x/crypto v0.0.0-20220214200702-86341886e292
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8
golang.org/x/crypto v0.0.0-20220313003712-b769efc7c000
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65
)

require (
Expand Down Expand Up @@ -54,9 +54,9 @@ require (
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mschoch/smat v0.2.0 // indirect
github.com/pion/datachannel v1.5.2 // indirect
github.com/pion/dtls/v2 v2.1.2 // indirect
github.com/pion/ice/v2 v2.1.20 // indirect
github.com/pion/interceptor v0.1.7 // indirect
github.com/pion/dtls/v2 v2.1.3 // indirect
github.com/pion/ice/v2 v2.2.2 // indirect
github.com/pion/interceptor v0.1.9 // indirect
github.com/pion/logging v0.2.2 // indirect
github.com/pion/mdns v0.0.5 // indirect
github.com/pion/randutil v0.1.0 // indirect
Expand All @@ -69,26 +69,26 @@ require (
github.com/pion/transport v0.13.0 // indirect
github.com/pion/turn/v2 v2.0.8 // indirect
github.com/pion/udp v0.1.1 // indirect
github.com/pion/webrtc/v3 v3.1.24-0.20220208053747-94262c1b2b38 // indirect
github.com/pion/webrtc/v3 v3.1.24 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
github.com/rs/dnscache v0.0.0-20211102005908-e0241e321417 // indirect
github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46 // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/tklauser/go-sysconf v0.3.9 // indirect
github.com/tklauser/go-sysconf v0.3.10 // indirect
github.com/tklauser/numcpus v0.4.0 // indirect
github.com/willf/bitset v1.1.11 // indirect
github.com/willf/bloom v2.0.3+incompatible // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
go.etcd.io/bbolt v1.3.6 // indirect
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
modernc.org/libc v1.14.5 // indirect
modernc.org/libc v1.14.11 // indirect
modernc.org/mathutil v1.4.1 // indirect
modernc.org/memory v1.0.5 // indirect
modernc.org/sqlite v1.14.6 // indirect
modernc.org/memory v1.0.6 // indirect
modernc.org/sqlite v1.15.0 // indirect
zombiezen.com/go/sqlite v0.9.2 // indirect
)
Loading

0 comments on commit 15d4e8c

Please sign in to comment.