]> Nishi Git Mirror - dataworks.git/commitdiff
add watcom
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sat, 15 Jun 2024 02:07:48 +0000 (02:07 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sat, 15 Jun 2024 02:07:48 +0000 (02:07 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@310 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

.github/workflows/build.yml

index 4d2251dbbef12aa6fa9a496e2bb018472d98eac2..1a09e731a6f4f715d587c21a3838abbb603e104b 100644 (file)
@@ -138,6 +138,16 @@ jobs:
       uses: actions/checkout@v4
     - name: Install packages
       run: sudo apt install flex byacc make graphviz
+    - name: Create /usr/watcom
+      run: sudo mkdir -p /usr/watcom
+    - name: Install Open Watcom
+      run: curl -L https://github.com/open-watcom/open-watcom-v2/releases/download/Last-CI-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 INCLUDE env
+      run: echo "INCLUDE=/usr/watcom/h" >> $GITHUB_ENV
     - name: Make
       run: make -j3 YACC=byacc dos-installer
     - name: Upload artifact