-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a874e27
commit 5cee9e0
Showing
3 changed files
with
53 additions
and
0 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,29 @@ | ||
name: main | ||
on: push | ||
jobs: | ||
main: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
name: checkout | ||
- name: main | ||
shell: cmd | ||
run: | | ||
set PATH=C:\Miniconda3;C:\Miniconda3\Scripts;%USERPROFILE%\Miniconda3;%USERPROFILE%\Miniconda3\Scripts;C:\Qt\5.15.2\mingw81_64\bin;C:\Qt\Tools\mingw810_64\bin;%PATH% | ||
where mugideploy || pip install mugideploy | ||
where aqt || pip install aqtinstall | ||
if not exist "C:\Qt\5.15.2\mingw81_64\bin\qmake.exe" aqt install-qt windows desktop 5.15.2 win64_mingw81 -O C:\Qt | ||
if not exist "C:\Qt\Tools\mingw810_64\bin\gcc.exe" aqt install-tool windows desktop tools_mingw qt.tools.win64_mingw810 -O C:\Qt | ||
qmake | ||
mingw32-make release -j4 | ||
mugideploy collect --app mugi-query --git-version --bin release\mugi-query.exe --plugins odbc mysql sqlite psql --zip | ||
- name: upload | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: mugi-query-win64 | ||
path: mugi-query-*-win64 | ||
- name: release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: mugi-query-*-win64.zip |
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,10 @@ | ||
@echo off | ||
rem This file is generated from build.pbat, all edits will be lost | ||
set PATH=C:\Miniconda3;C:\Miniconda3\Scripts;%USERPROFILE%\Miniconda3;%USERPROFILE%\Miniconda3\Scripts;C:\Qt\5.15.2\mingw81_64\bin;C:\Qt\Tools\mingw810_64\bin;%PATH% | ||
where mugideploy || pip install mugideploy | ||
where aqt || pip install aqtinstall | ||
if not exist "C:\Qt\5.15.2\mingw81_64\bin\qmake.exe" aqt install-qt windows desktop 5.15.2 win64_mingw81 -O C:\Qt | ||
if not exist "C:\Qt\Tools\mingw810_64\bin\gcc.exe" aqt install-tool windows desktop tools_mingw qt.tools.win64_mingw810 -O C:\Qt | ||
qmake | ||
mingw32-make release -j4 | ||
mugideploy collect --app mugi-query --git-version --bin release\mugi-query.exe --plugins odbc mysql sqlite psql --zip |
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,14 @@ | ||
def main | ||
github_checkout() | ||
use(conda) | ||
install(mugideploy) | ||
install(aqt) | ||
install(qt, 5.15.2, win64_mingw81) | ||
install(mingw, 8.1.0) | ||
qmake | ||
mingw32-make release -j4 | ||
mugideploy collect --app mugi-query --git-version --bin release\mugi-query.exe --plugins odbc mysql sqlite psql --zip | ||
github_upload(mugi-query-*-win64, :name=mugi-query-win64) | ||
github_release(mugi-query-*-win64.zip) | ||
|
||
github-workflow 1 |