-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix_test_workflow' into fix-tests
- Loading branch information
Showing
5 changed files
with
58 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Build standalone tool for Windows | ||
|
||
on: push | ||
|
||
jobs: | ||
|
||
Compile-on-Windows: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: robinraju/[email protected] | ||
with: | ||
repository: "MerginMaps/geodiff" | ||
latest: true | ||
fileName: "geodiff_windows_binaries.zip" | ||
zipBall: false | ||
out-file-path: "scripts/windows_binaries" | ||
extract: true | ||
|
||
- name: Delete files from binaries | ||
run: | | ||
cd scripts/windows_binaries | ||
del geodiff_*.zip | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install dynaconf pyinstaller mergin-client psycopg2 | ||
- name: Build Binary | ||
run: | | ||
cd scripts | ||
cmd.exe /C build_exe.bat | ||
- name: Copy config file | ||
run: copy config.yaml.default scripts/dist/config.yaml | ||
|
||
- name: Upload Zip file as artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: dbsync_standalone_win | ||
path: scripts/dist |
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,3 @@ | ||
pytest | ||
pytest-cov | ||
psycopg2 |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
mergin-client>=0.8.3 | ||
mergin-client>=0.9.0 | ||
dynaconf>=3.1 |