Skip to content

Commit

Permalink
tar gz binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Sep 28, 2023
1 parent ecea94f commit f8949ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/linux-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ jobs:
cargo build --release -p spacetimedb-cli
mkdir build
mv target/release/spacetime build/spacetime-linux-x86
cd build && tar -czf spacetime.linux-amd64.tar.gz spacetime.linux-amd64
- name: Compile Aarch64
run: |
cargo build --release -p spacetimedb-cli --target=aarch64-unknown-linux-gnu
mv target/aarch64-unknown-linux-gnu/release/spacetime build/spacetime-linux-aarch64
mv target/aarch64-unknown-linux-gnu/release/spacetime build/spacetime.linux-arm64
cd build && tar -czf spacetime.linux-arm64.tar.gz spacetime.linux-arm64
- name: Extract branch name
shell: bash
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ jobs:
run: |
cargo build --release -p spacetimedb-cli
mkdir build
mv target/release/spacetime build/spacetime-darwin-x86
mv target/release/spacetime build/spacetime.darwin-amd64
cd build && tar -czf spacetime.darwin-amd64.tar.gz spacetime.darwin-amd64
- name: Compile Aarch64
run: |
cargo build --release -p spacetimedb-cli --target=aarch64-apple-darwin
mv target/aarch64-apple-darwin/release/spacetime build/spacetime-darwin-aarch64
mv target/aarch64-apple-darwin/release/spacetime build/spacetime.darwin-arm64
cd build && tar -czf spacetime.darwin-arm64.tar.gz spacetime.darwin-arm64
- name: Extract branch name
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
cargo build --release -p spacetimedb-cli
mkdir build
mv target/release/spacetime.exe build/spacetime-windows-x86.exe
mv target/release/spacetime.exe build/spacetime.exe
- name: Extract branch name
shell: bash
Expand Down

0 comments on commit f8949ab

Please sign in to comment.