Skip to content

Commit 3086527

Browse files
committed
Test workflow
1 parent dcdc52f commit 3086527

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: My Test
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test:
8+
9+
runs-on: windows-latest
10+
11+
strategy:
12+
fail-fast: false
13+
14+
name: Test
15+
16+
defaults:
17+
run:
18+
shell: msys2 {0}
19+
20+
steps:
21+
22+
- name: Install MSYS2
23+
uses: msys2/setup-msys2@v2
24+
with:
25+
update: true
26+
msystem: mingw64
27+
install: >-
28+
base-devel
29+
curl
30+
git
31+
make
32+
perl
33+
flex
34+
bison
35+
diffutils
36+
mingw-w64-x86_64-zlib
37+
mingw-w64-x86_64-icu
38+
mingw-w64-x86_64-gcc
39+
40+
- name: Install PostgreSQL
41+
run: |
42+
git clone --single-branch -b REL_16_STABLE git://git.postgresql.org/git/postgresql.git
43+
cd ${{github.workspace}}/postgresql
44+
./configure --enable-cassert --without-icu
45+
make -j$(nproc)
46+
make install
47+
48+
- name: Clone pgSphere
49+
uses: actions/checkout@v4
50+
with:
51+
ref: 'master'
52+
fetch-depth: 1
53+
54+
- name: Build pgSphere
55+
run: |
56+
make --keep-going -j$(nproc) PROFILE='-Werror -Wall' USE_HEALPIX=0
57+
make USE_HEALPIX=0 install
58+
59+
- name: Test pgSphere
60+
run: |
61+
make USE_HEALPIX=0 test

0 commit comments

Comments
 (0)