Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add GitHub Actions pipeline for pgSphere#69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vitcpp merged 1 commit intopostgrespro:masterfromborodun:github-actions
Sep 27, 2023
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions.github/workflows/build-and-check.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
name: Build and Check

on:
push:
pull_request:

jobs:
build_and_test:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
pg_version: [10, 11, 12, 13, 14, 15, 16]
use_healpix: [0, 1]

name: PostgreSQL ${{ matrix.pg_version }} - USE_HEALPIX=${{ matrix.use_healpix }}

steps:
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y \
postgresql-common \
libhealpix-cxx-dev \
docbook-xml \
docbook-xsl \
libxml2-utils \
xsltproc \
fop

- name: Install Postgres
run: sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -p -v ${{ matrix.pg_version }} -i

- name: Clone pgSphere
uses: actions/checkout@v4

- name: Set MAKE_CMD variable
run: echo "MAKE_CMD=make --keep-going -j$(nproc) -l$(nproc) -O" >> $GITHUB_ENV

- name: Build pgSphere
run: ${MAKE_CMD} PROFILE="-Werror -Wall" USE_HEALPIX=${{ matrix.use_healpix }}

- name: make test
run: pg_virtualenv ${MAKE_CMD} USE_HEALPIX=${{ matrix.use_healpix }} test

- name: Install pgSphere
run: sudo ${MAKE_CMD} USE_HEALPIX=${{ matrix.use_healpix }} install

- name: make installcheck
run: pg_virtualenv ${MAKE_CMD} USE_HEALPIX=${{ matrix.use_healpix }} installcheck

- name: make crushtest
run: pg_virtualenv ${MAKE_CMD} USE_HEALPIX=${{ matrix.use_healpix }} crushtest

- name: Build docs
run: ${MAKE_CMD} -C doc

- name: Upload artifacts
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: ${{ github.ref_name }}-pg${{ matrix.pg_version }}-use-healpix-${{ matrix.use_healpix }}-${{ github.run_id }}
if-no-files-found: ignore
path: |
./**/*.log
./**/*.diffs

[8]ページ先頭

©2009-2025 Movatter.jp