]> Nishi Git Mirror - dataworks.git/commitdiff
add watcom
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sun, 9 Jun 2024 23:32:40 +0000 (23:32 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sun, 9 Jun 2024 23:32:40 +0000 (23:32 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@221 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

.github/workflows/build.yml

index 981ffc06f5156fcfd11ce0853f1798245cfea382..54866d44fab8d09200d0df19cf44c3d427dc77b3 100644 (file)
@@ -23,27 +23,37 @@ jobs:
         restore-keys: pkgcache-
     - name: Install packages
       run: sudo apt-get install zip byacc flex doxygen mingw-w64 graphviz
-    - name: make sure it is clean (linux64)
+    - name: Create /usr/watcom
+      run: sudo mkdir /usr/watcom
+    - name: Install Open Watcom
+      run: curl -L https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.xz | sudo tar xvJf - -C /usr/watcom
+    - name: Add PATH
+      run: echo "/usr/watcom/binl64" >> $GITHUB_PATH
+    - name: Add WATCOM env
+      run: echo "WATCOM=/usr/watcom" >> $GITHUB_ENV
+    - name: Add WATCOM env
+      run: echo "INCLUDE=/usr/watcom/h" >> $GITHUB_ENV
+    - name: Make sure it is clean (linux64)
       run: make clean
-    - name: make for linux64
+    - name: Make for linux64
       run: make YACC=byacc -j3 archive
-    - name: rename to -linux64
+    - 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)
+    - name: Make sure it is clean (win32)
       run: make clean
-    - name: make for win32
+    - name: Make for win32
       run: make YACC=byacc PLATFORM=win32 -j3 archive
-    - name: rename to -win32
+    - 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)
+    - name: Make sure it is clean (win64)
       run: make clean
-    - name: make for win64
+    - name: Make for win64
       run: make YACC=byacc PLATFORM=win64 -j3 archive
-    - name: rename to -win64
+    - name: Rename to -win64
       run: mv dataworks.zip dataworks-win64.zip && mv dataworks.tar.gz dataworks-win64.tar.gz
-    - name: release
+    - 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"
       env:
         GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-    - name: kill apt-get
+    - name: Kill apt-get
       run: sudo killall apt-get || true