Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vitcpp committed Nov 2, 2024
1 parent dcdc52f commit 77f0131
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
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:
update: true
msystem: mingw64
install: >-
base-devel
curl
git
make
perl
flex
bison
diffutils
mingw-w64-x86_64-zlib
mingw-w64-x86_64-icu
mingw-w64-x86_64-gcc
mingw-w64-x86_64-postgresql
#- name: Install PostgreSQL
# uses: tj-actions/install-postgresql@v3
# with:
# postgresql-version: 13

#- name: Install PostgreSQL
# run: |
# git clone --single-branch -b REL_16_STABLE git://git.postgresql.org/git/postgresql.git
# cd ${GITHUB_WORKSPACE}/postgresql
# ./configure --enable-cassert --without-icu
# make -j$(nproc)
# make install

- name: Clone pgSphere
uses: actions/checkout@v4
with:
ref: 'master'
fetch-depth: 1

- name: Build pgSphere
run: |
echo "/c/Program Files/PostgreSQL/13/ bin" >> "$GITHUB_PATH"
make --keep-going -j$(nproc) -Wall PROFILE='-Werror -Wall' USE_HEALPIX=0
- name: Test pgSphere
run: |
make USE_HEALPIX=0 test

0 comments on commit 77f0131

Please sign in to comment.