Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vitcpp committed Nov 1, 2024
1 parent dcdc52f commit 54701b4
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: My Test

on:
workflow_dispatch:

jobs:
test:

runs-on: windows-latest

strategy:
fail-fast: false

name: Test

defaults:
run:
shell: msys2 {0}

steps:

- name: Install MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
install: >-
curl
git
make
gcc
icu
icu-devel
perl
- name: Install PostgreSQL
run: |
git clone --single-branch -b REL_16_STABLE git://git.postgresql.org/git/postgresql.git
echo `pwd`
ls -la
echo ${GITHUB_WORKSPACE}
cd ${GITHUB_WORKSPACE}/postgresql
echo `pwd`
ls -la
./configure --enable-cassert
make -j$(nproc)
- name: Clone pgSphere
uses: actions/checkout@v4
with:
ref: 'master'
fetch-depth: 1

- name: Build pgSphere
run: make --keep-going -j$(nproc) -Wall PROFILE="-Werror -Wall" USE_HEALPIX=0

- name: Test
run: pg_virtualenv ${MAKE_CMD} USE_HEALPIX=0 test

#- name: Build pgSphere
# run: make USE_HEALPIX=0

#- name: Setup PostgreSQL
# uses: tj-actions/install-postgresql@v3
# with:
# postgresql-version: 16

0 comments on commit 54701b4

Please sign in to comment.