os2.yml 824 B

123456789101112131415161718192021222324252627
  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 --no-verbose '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 && chmod -R a+rx ~/openwatcom ; fi
  17. shell: bash
  18. - name: Build
  19. run: WATCOM="$HOME/openwatcom" build-scripts/os2-buildbot.sh
  20. shell: bash