From: nishi Date: Wed, 19 Jun 2024 04:08:07 +0000 (+0000) Subject: add win32/win64 installer X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=065492490013d95ed716aa4d1b0195e5c7e31777;p=dataworks.git add win32/win64 installer git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@363 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 211b2f1..614d470 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,15 +84,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install packages - run: sudo apt-get install zip byacc flex doxygen graphviz mingw-w64 + run: sudo apt-get install zip byacc flex doxygen graphviz mingw-w64 nsis - name: Make sure it is clean run: make clean PLATFORM=win64 - name: Make for Windows 64-bit - run: make YACC=byacc PLATFORM=win64 -j3 archive + run: make YACC=byacc PLATFORM=win64 -j3 archive insall.exe - name: Rename to -win64 - run: mv dataworks.zip dataworks-win64.zip && mv dataworks.tar.gz dataworks-win64.tar.gz && mv Client/dataworks.exe dataworks-win64.exe && mv Server/dataworks_server.exe dataworks-server-win64.exe && mv RemoteClient/dataworks_remote_client.exe dataworks-remote-client-win64.exe + run: mv dataworks.zip dataworks-win64.zip && mv dataworks.tar.gz dataworks-win64.tar.gz && mv Client/dataworks.exe dataworks-win64.exe && mv Server/dataworks_server.exe dataworks-server-win64.exe && mv RemoteClient/dataworks_remote_client.exe dataworks-remote-client-win64.exe && mv install.exe install-win64.exe - name: Create artifact - run: zip -rv build-win64.zip dataworks-win64.tar.gz dataworks-win64.zip dataworks-server-win64.exe dataworks-win64.exe dataworks-remote-client-win64.exe + run: zip -rv build-win64.zip dataworks-win64.tar.gz dataworks-win64.zip dataworks-server-win64.exe dataworks-win64.exe dataworks-remote-client-win64.exe install-win64.exe - name: Upload artifact uses: actions/upload-artifact@v4 with: @@ -112,15 +112,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install packages - run: sudo apt-get install zip byacc flex doxygen graphviz mingw-w64 + run: sudo apt-get install zip byacc flex doxygen graphviz mingw-w64 nsis - name: Make sure it is clean run: make clean PLATFORM=win32 - name: Make for Windows 32-bit - run: make YACC=byacc PLATFORM=win32 -j3 archive + run: make YACC=byacc PLATFORM=win32 -j3 archive install.exe - name: Rename to -win32 - run: mv dataworks.zip dataworks-win32.zip && mv dataworks.tar.gz dataworks-win32.tar.gz && mv Client/dataworks.exe dataworks-win32.exe && mv Server/dataworks_server.exe dataworks-server-win32.exe && mv RemoteClient/dataworks_remote_client.exe dataworks-remote-client-win32.exe + run: mv dataworks.zip dataworks-win32.zip && mv dataworks.tar.gz dataworks-win32.tar.gz && mv Client/dataworks.exe dataworks-win32.exe && mv Server/dataworks_server.exe dataworks-server-win32.exe && mv RemoteClient/dataworks_remote_client.exe dataworks-remote-client-win32.exe && mv install.exe install-win32.exe - name: Create artifact - run: zip -rv build-win32.zip dataworks-win32.tar.gz dataworks-win32.zip dataworks-server-win32.exe dataworks-win32.exe dataworks-remote-client-win32.exe + run: zip -rv build-win32.zip dataworks-win32.tar.gz dataworks-win32.zip dataworks-server-win32.exe dataworks-win32.exe dataworks-remote-client-win32.exe install-win32.exe - name: Upload artifact uses: actions/upload-artifact@v4 with: @@ -426,6 +426,6 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release - run: gh release create -t "v$(make get-version)" "$(make get-version)" dataworks-dos.{tar.gz,zip} dataworks-macos-arm64.{tar.gz,zip} dataworks-dos4g.{tar.gz,zip} dataworks-win32.{tar.gz,zip} dataworks-win64.{tar.gz,zip} dataworks-linux64.{tar.gz,zip} dataworks-{dos.exe,dos4g.exe,macos-arm64,win32.exe,win64.exe,linux64} dataworks-server-{dos.exe,dos4g.exe,macos-arm64,win32.exe,win64.exe,linux64} dataworks-remote-client-{dos.exe,dos4g.exe,macos-arm64,win32.exe,win64.exe,linux64} install1200.img install1440.img dataworks-amd64-ubuntu.deb -n "Version \`$(make get-version)\` was built in this release" + run: gh release create -t "v$(make get-version)" "$(make get-version)" dataworks-dos.{tar.gz,zip} dataworks-macos-arm64.{tar.gz,zip} dataworks-dos4g.{tar.gz,zip} dataworks-win32.{tar.gz,zip} dataworks-win64.{tar.gz,zip} dataworks-linux64.{tar.gz,zip} dataworks-{dos.exe,dos4g.exe,macos-arm64,win32.exe,win64.exe,linux64} dataworks-server-{dos.exe,dos4g.exe,macos-arm64,win32.exe,win64.exe,linux64} dataworks-remote-client-{dos.exe,dos4g.exe,macos-arm64,win32.exe,win64.exe,linux64} install1200.img install1440.img dataworks-amd64-ubuntu.deb install-win{32,64}.exe -n "Version \`$(make get-version)\` was built in this release" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}