Skip to content

Commit

Permalink
cache params
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Aug 12, 2024
1 parent 8c8b766 commit 51c05f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wasm_postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
/tmp/sdk/postgres-*.tar.gz
postgres
postgresql-*
key: build-cache-${{ hashFiles('cibuild/**', 'patches/*.c', 'patches/postgresql-*') }}
key: build-cache-${{ hashFiles('cibuild.sh', 'cibuild/**', 'patches/*.c', 'patches/postgresql-*') }}

- name: Install python-wasm-sdk for emsdk/wasi+prebuilts
if: steps.cache-restore.outputs.cache-hit != 'true'
Expand Down
15 changes: 11 additions & 4 deletions cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,11 @@ then
fi
done


fi

if echo " $*"|grep -q " vector"

if echo " $*"|grep -q " vector"
then
echo "====================== vector : $(pwd) ================="

Expand Down Expand Up @@ -296,7 +297,6 @@ fi
python3 cibuild/pack_extension.py
fi


# ===========================================================================
# ===========================================================================
# PGLite
Expand Down Expand Up @@ -393,13 +393,20 @@ do
du -hs ${WEBROOT}/*
;;

repl) echo "=============== pglite-repl ================================"
pglite-repl) echo "=============== pglite-repl ================================"
pushd ./packages/repl
pnpm install
pnpm run build
popd
;;

pglite-test) echo "================== pglite-test ========================="
pushd ./packages/pglite
pnpm exec playwright install --with-deps
pnpm run test
popd
;;

pglite-prep) echo "==================== pglite-prep =========================="
mkdir -p $PGLITE/release
rm $PGLITE/release/*
Expand Down

0 comments on commit 51c05f6

Please sign in to comment.