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: Package prqlc as .deb package #1883

Merged
merged 11 commits into from
Feb 21, 2023
24 changes: 24 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,30 @@ jobs:
}
})

build-deb-package:
max-sixty marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
steps:
- name: 📂 Checkout code
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
max-sixty marked this conversation as resolved.
Show resolved Hide resolved
- name: 👷 Build prql-compiler
run: cargo build --release
- name: Copy files into .deb package
run: |
mkdir -p .debpkg/usr/bin
cp target/release/prqlc .debpkg/usr/bin/prqlc
chmod +x .debpkg/usr/bin/prqlc
- name: 📦 Build .deb package
uses: jiro4989/build-deb-action@v2
with:
package: prqlc
package_root: .debpkg
maintainer: The PRQL Project
version: '${{ github.ref }}'
desc: PRQL compiler transpiles PRQL queries into SQL queries.
max-sixty marked this conversation as resolved.
Show resolved Hide resolved

build-python-wheels:
runs-on: ${{ matrix.os }}
strategy:
Expand Down