]> Nishi Git Mirror - dataworks.git/commitdiff
build for windows too
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sun, 9 Jun 2024 14:05:57 +0000 (14:05 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sun, 9 Jun 2024 14:05:57 +0000 (14:05 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@210 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

.github/workflows/build.yml

index b44df887c6c3f90f2eb3d9309fe7605cd513de7d..4dc0905b448987bd96f3e17ad46aa735e2a198a6 100644 (file)
@@ -15,12 +15,20 @@ jobs:
     steps:
     - uses: actions/checkout@v4
     - name: Install packages
-      run: sudo apt-get install zip byacc flex doxygen
-    - name: make
-      run: make YACC=byacc archive
-    - name: rename
-      run: mv dataworks.zip dataworks-linux64.zip && mv dataworks.tar.gz dataworks-linux64.tar.gz
+      run: sudo apt-get install zip byacc flex doxygenmingw-w64
+    - name: make for linux64
+      run: make YACC=byacc -j3 archive
+    - name: rename to -linux64
+      run: mv dataworks.tar.gz dataworks-linux64.tar.gz
+    - name: make for win32
+      run: make YACC=byacc PLATFORM=win32 -j3 archive
+    - name: rename to -win32
+      run: mv dataworks.tar.gz dataworks-win32.tar.gz
+    - name: make for win64
+      run: make YACC=byacc PLATFORM=win64 -j3 archive
+    - name: rename to -win64
+      run: mv dataworks.tar.gz dataworks-win64.tar.gz
     - name: release
-      run: gh release create -t "Release $(date +"%a %b %e %H:%M:%S %Z %Y")" "$(date +%Y%m%d%H%M%S)" dataworks-linux64.tar.gz --generate-notes
+      run: gh release create -t "Release $(date +"%a %b %e %H:%M:%S %Z %Y")" "$(date +%Y%m%d%H%M%S)" dataworks-linux64.tar.gz dataworks-win32.tar.gz dataworks-win64.tar.gz --generate-notes
       env:
         GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}