Fix formatting in acp_extension.cpp #13
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
| # | |
| # Build, test and (optionally) release the extension | |
| # | |
| name: Main Extension Distribution Pipeline | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' && github.sha || '' }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build (${{ matrix.duckdb_arch }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| duckdb_arch: linux_amd64 | |
| rust_target: x86_64-unknown-linux-gnu | |
| - os: macos-13 | |
| duckdb_arch: osx_amd64 | |
| rust_target: x86_64-apple-darwin | |
| - os: macos-14 | |
| duckdb_arch: osx_arm64 | |
| rust_target: aarch64-apple-darwin | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Build Rust library | |
| run: | | |
| cd duckdb_acp_core | |
| cargo build --release | |
| - name: Build extension | |
| run: make release | |
| - name: Test extension | |
| run: make test | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: acp-${{ matrix.duckdb_arch }} | |
| path: build/release/extension/acp/acp.duckdb_extension | |
| code-quality-check: | |
| name: Code Quality Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Install format tools | |
| run: pip install "black>=24" "clang-format==11.0.1" "cmake-format" | |
| - name: Format check | |
| run: python duckdb/scripts/format.py --all --check --directories src test |