bye appveyor #3
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
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-grep --git-version --bin release\mugi-grep.exe --zip | |
- name: upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: mugi-grep-win64 | |
path: mugi-grep-*-win64 | |
- name: release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: mugi-grep-*-win64.zip |