Add gqlite CLI improvements and release binary builds #13
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Fast | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y bison flex libsqlite3-dev libcunit1-dev | |
| - name: Build extension | |
| run: make extension | |
| - name: Run unit tests | |
| run: make test-unit | |
| - name: Run functional tests | |
| run: make test-functional | |
| rust-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y bison flex libsqlite3-dev | |
| - name: Build extension | |
| run: make extension | |
| - name: Cargo check | |
| working-directory: bindings/rust | |
| run: cargo check | |
| - name: Cargo clippy | |
| working-directory: bindings/rust | |
| run: cargo clippy -- -D warnings | |
| python-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y bison flex libsqlite3-dev | |
| - name: Build extension | |
| run: make extension | |
| - name: Install Python package | |
| working-directory: bindings/python | |
| run: pip install -e ".[dev]" | |
| - name: Run Python tests | |
| working-directory: bindings/python | |
| run: pytest tests/ -v | |
| windows-build: | |
| runs-on: windows-latest | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup MSYS2 | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: MINGW64 | |
| update: true | |
| install: >- | |
| mingw-w64-x86_64-gcc | |
| mingw-w64-x86_64-sqlite3 | |
| mingw-w64-x86_64-libsystre | |
| bison | |
| flex | |
| make | |
| - name: Build extension | |
| run: make extension | |
| - name: Run functional tests | |
| run: make test-functional |