From: nishi Date: Sun, 9 Jun 2024 23:37:08 +0000 (+0000) Subject: add dos X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=33c648696e516d72d1eddcc54d517c134b3d9db3;p=dataworks.git add dos git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@222 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54866d4..492f5ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: run: echo "/usr/watcom/binl64" >> $GITHUB_PATH - name: Add WATCOM env run: echo "WATCOM=/usr/watcom" >> $GITHUB_ENV - - name: Add WATCOM env + - name: Add INCLUDE env run: echo "INCLUDE=/usr/watcom/h" >> $GITHUB_ENV - name: Make sure it is clean (linux64) run: make clean @@ -40,19 +40,25 @@ jobs: - name: Rename to -linux64 run: mv dataworks.zip dataworks-linux64.zip && mv dataworks.tar.gz dataworks-linux64.tar.gz - name: Make sure it is clean (win32) - run: make clean + run: make clean PLATFORM=win32 - name: Make for win32 run: make YACC=byacc PLATFORM=win32 -j3 archive - name: Rename to -win32 run: mv dataworks.zip dataworks-win32.zip && mv dataworks.tar.gz dataworks-win32.tar.gz - name: Make sure it is clean (win64) - run: make clean + run: make clean PLATFORM=win64 - name: Make for win64 run: make YACC=byacc PLATFORM=win64 -j3 archive - name: Rename to -win64 run: mv dataworks.zip dataworks-win64.zip && mv dataworks.tar.gz dataworks-win64.tar.gz + - name: Make sure it is clean (dos) + run: make clean PLATFORM=dos + - name: Make for DOS + run: make YACC=byacc PLATFORM=dos -j3 archive + - name: Rename to -dos + run: mv dataworks.zip dataworks-dos.zip && mv dataworks.tar.gz dataworks-dos.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,zip} dataworks-win32.{tar.gz,zip} dataworks-win64.{tar.gz,zip} -n "Version \`$(make get-version)\` was built in this 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,zip} dataworks-win32.{tar.gz,zip} dataworks-dos.{tar.gz,zip} dataworks-win64.{tar.gz,zip} -n "Version \`$(make get-version)\` was built in this release" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Kill apt-get