os2.yml 790 B

12345678910111213141516171819202122232425262728
  1. name: Build (OS/2)
  2. on: [push, pull_request]
  3. jobs:
  4. os2:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: Cache OpenWatcom
  9. uses: actions/cache@v2
  10. env:
  11. cache-name: cache-openwatcom
  12. with:
  13. path: ~/openwatcom
  14. key: ${{ runner.os }}-build-${{ env.cache-name }}
  15. - name: Download OpenWatcom if not cached
  16. run: if [ ! -d ~/openwatcom/binl64 ]; then wget 'https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/open-watcom-2_0-c-linux-x64' -O ~/ow.zip && mkdir -p ~/openwatcom && cd ~/openwatcom && unzip ~/ow.zip ; fi
  17. shell: bash
  18. - name: Build
  19. run: build-scripts/os2-buildbot.sh
  20. shell: bash
  21. env:
  22. WATCOM: ~/openwatcom