Skip to content
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
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ jobs:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
artifact: olx-tracker-linux-x64
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
artifact: olx-tracker-linux-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -143,8 +146,16 @@ jobs:
with:
key: release-${{ matrix.target }}

- name: Install cross-compilation tools
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu

- name: Build
run: cargo build --release --target ${{ matrix.target }}
env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc

- name: Package (Unix)
run: |
Expand Down Expand Up @@ -215,6 +226,7 @@ jobs:
|----------|------|
| macOS (Apple Silicon) | `olx-tracker-macos-arm64.tar.gz` |
| Linux (x64) | `olx-tracker-linux-x64.tar.gz` |
| Linux (ARM64, Raspberry Pi) | `olx-tracker-linux-arm64.tar.gz` |

### Quick Install

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.