Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
varbhat authored Sep 7, 2021
1 parent 2d19510 commit 8d2c8d1
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@ jobs:
xbps-install -Syu || xbps-install -yu xbps
xbps-install -yu
- name: Install Packages
run: xbps-install -Sy git curl bash make go nodejs cross-x86_64-linux-musl cross-aarch64-linux-musl github-cli
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
- name: Checkout repository
uses: actions/checkout@v2
- name: Build exatorrent
run: go mod tidy && make web && make app-linux-amd64 && make app-linux-arm64 && make checksum
- 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
- name: Setup crossmac and Build for MacOS
run: |
wget "https://github.com/varbhat/crossmac/releases/latest/download/crossmac.tar.zst"
tar xvf crossmac.tar.zst
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/crossmac/lib/
export PATH=$(pwd)/crossmac/bin/:$PATH
make app-darwin-amd64 app-darwin-arm64
- name: Generate SHA256 Checksum
run: |
make checksum
- name: Publish Releases
run: |
gh config set prompt disabled
Expand Down

0 comments on commit 8d2c8d1

Please sign in to comment.