Implement aborting read/write #41
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: Build Deno Shared Library | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| jobs: | |
| build-deno-so: | |
| name: Build shared library for Deno | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ubuntu:24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install build dependencies | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| run: | | |
| apt-get update | |
| apt-get install -y --no-install-recommends ninja-build g++ git ca-certificates | |
| rm -rf /var/lib/apt/lists/* | |
| - name: Setup CMake >= 3.30 | |
| uses: jwlawson/actions-setup-cmake@v2 | |
| with: | |
| cmake-version: '3.31.x' | |
| - name: Configure CMake (Release) | |
| env: | |
| CXX: g++ | |
| run: | | |
| cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release | |
| - name: Build shared library | |
| run: | | |
| cmake --build build --config Release | |
| - name: Collect shared library artifact | |
| run: | | |
| mkdir -p deno-lib/linux-x86_64 | |
| cp build/libcpp_bindings_linux.so* deno-lib/linux-x86_64/ | |
| ls -R deno-lib | |
| - name: Upload .so artifact for Deno | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: cpp-bindings-linux-so-linux-x86_64 | |
| path: deno-lib/** | |