no need for caches since we're now self-hosting and build artifacts and such persist run-over-run
@@ -30,35 +30,6 @@ jobs:
- name: install postgres build dependencies
run: rustup component add rustfmt && sudo apt install -y bison flex zlib1g zlib1g-dev
- # create caches for each of ~/.cargo, PG 10, 11, 12
- # we hardcode these rather than using ${{ matrix.feature }} because no matter what feature we're building for
- # build.rs needs all of these
- - name: cargo cache
- uses: actions/cache@v1
- with:
- path: ~/.cargo
- key: ${{ runner.os }}-cargo-v8
- - name: cargo build cache
- uses: actions/cache@v1
- with:
- path: target/debug
- key: ${{ runner.os }}-cargo-debug-build-v8
- - name: postgres 10 git/configure/make cache
- uses: actions/cache@v1
- with:
- path: /tmp/pgx-build/REL_10_STABLE
- key: ${{ runner.os }}-postgres-REL_10_STABLE-v8
- - name: postgres 11 git/configure/make cache
- uses: actions/cache@v1
- with:
- path: /tmp/pgx-build/REL_11_STABLE
- key: ${{ runner.os }}-postgres-REL_11_STABLE-v8
- - name: postgres 12 git/configure/make cache
- uses: actions/cache@v1
- with:
- path: /tmp/pgx-build/REL_12_STABLE
- key: ${{ runner.os }}-postgres-REL_12_STABLE-v8
-
# test our code
- name: install cargo pgx
run: cd cargo-pgx && cargo install --path . --force
