forked from MobilityDB/MobilityDB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request MobilityDB#360 from MobilityDB/develop
Merging develop into master in preparation of MobilityDB 1.1 release
- Loading branch information
Showing
1,198 changed files
with
611,220 additions
and
347,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Build for Windows | ||
|
||
on: | ||
push: | ||
# branches: [ main ] | ||
pull_request: | ||
# branches: [ main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: windows | ||
runs-on: windows-latest | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: 'Setup' | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: UCRT64 | ||
update: true | ||
install: >- | ||
mingw-w64-ucrt-x86_64-gcc | ||
mingw-w64-ucrt-x86_64-cmake | ||
mingw-w64-ucrt-x86_64-ninja | ||
mingw-w64-ucrt-x86_64-postgresql | ||
mingw-w64-ucrt-x86_64-postgis | ||
mingw-w64-ucrt-x86_64-gsl | ||
- name: Configure | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_BUILD_TYPE=Release .. | ||
- name: Build | ||
run: | | ||
cd build | ||
cmake --build . | ||
cmake --install . | ||
- name: Test install | ||
run: | | ||
# Create a new PostgreSQL database cluster | ||
export PGDATA="D:/a/_temp/msys64/usr/local/pgsql/data" | ||
initdb | ||
# Configure PostgreSQL for MobilityDB | ||
{ | ||
echo "port = 5432" | ||
echo "shared_preload_libraries = 'postgis-3.dll'" | ||
echo "max_locks_per_transaction = 128" | ||
} >> "${PGDATA}/postgresql.conf" | ||
# Start PostgreSQL | ||
pg_ctl start | ||
# Create database and add the MobilityDB extension | ||
createdb -U runneradmin mydb | ||
psql -p 5432 -U runneradmin -d mydb -c "CREATE EXTENSION mobilitydb CASCADE; SELECT postgis_full_version(); SELECT mobilitydb_full_version(); SELECT tfloat '[1@2000-01-01]';" | ||
# - name: Run tests | ||
# run: | | ||
# cd build | ||
# ctest --output-on-failure |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.