Skip to content

Commit

Permalink
FIXUP wmake
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Mar 26, 2024
1 parent cfdc631 commit c350ab6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: open-watcom/setup-watcom@v0
with:
version: "1.9"
- name: 'Patch makefile for OpenWatcom'
run: sed -iE -e '/Open Watcom/,/^$/s/^#([^ ])/\1/' -e '/^EXTRAOBJS=/s/=.*$/=wildargv.c/' -e 's/\.obj/.o/g' makefile.dos
run: |
find ~/watcom -name 'wild*'
sed -Ei -e '/Open Watcom/,/^$/s/^#([^ ])/\1/' -e 's/\.obj/.o/g' makefile.dos
- name: 'Compile with OpenWatcom for x86'
run: wmake -f makefile.dos
run: wmake -f makefile.dos EXTRAOBJS= IGNOREME=wildargv.c
- name: 'Strip binary'
run: wstrip fvcbm.exe
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c350ab6

Please sign in to comment.