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

Build linux and windows #51

Merged
merged 3 commits into from
Jan 24, 2025
Merged
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
11 changes: 10 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:

jobs:
release:

runs-on: ${{ matrix.job.os }}
env:
PROJECT_NAME: point_tiler
Expand All @@ -16,6 +15,8 @@ jobs:
- {os: macos-latest, target: x86_64-apple-darwin, extension: ''}
- {os: macos-latest, target: aarch64-apple-darwin, extension: ''}
- {os: ubuntu-latest, target: x86_64-unknown-linux-gnu, extension: ''}
- {os: ubuntu-latest, target: x86_64-unknown-linux-musl, extension: ''}
- {os: windows-latest, target: x86_64-pc-windows-msvc, extension: '.exe'}
permissions:
contents: write

Expand All @@ -30,10 +31,18 @@ jobs:
x86_64-apple-darwin
aarch64-apple-darwin
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
x86_64-pc-windows-msvc

- name: Rust cache
uses: Swatinem/rust-cache@v2

- name: Install musl tools (only for musl target)
if: matrix.job.target == 'x86_64-unknown-linux-musl'
run: |
sudo apt-get update
sudo apt-get install -y musl-tools

- name: Build
run: cargo build --release --package app --target ${{ matrix.job.target }}

Expand Down
Loading