diff --git a/.github/workflows/build_wasm_postgres.yml b/.github/workflows/build_wasm_postgres.yml new file mode 100644 index 0000000000000..3596387eef97a --- /dev/null +++ b/.github/workflows/build_wasm_postgres.yml @@ -0,0 +1,39 @@ +name: Build postgres-pglite (aka Postgresql WASM) + +permissions: + pull-requests: write + issues: write + contents: read + +on: + workflow_call: + push: + branches: ['pglite/REL_16_STABLE'] + pull_request: + +jobs: + build: + name: Build postgres-pglite (WASM Postgres) + runs-on: ubuntu-22.04 + env: + BUILD_CONFIG_FILE: pglite/.buildconfig + PGROOT: /tmp/pglite + TOTAL_MEMORY: 128MB + CMA_MB: 16 + DEBUG: false + OBJDUMP: true + contrib: contrib + extra: extra + EXTRA_EXT: vector + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Build postgres WASM via emsdk + working-directory: ${{ github.workspace }} + env: + PGSRC: ${{ github.workspace }} + run: | + pglite/cibuild/build-with-docker.sh