Edit

kc3-lang/SDL/.github/workflows/os2.yml

Branch :

  • Show log

    Commit

  • Author : Ryan C. Gordon
    Date : 2022-01-03 21:55:10
    Hash : 30f895a5
    Message : Update os2.yml Specify the WATCOM environment variable in the "run" command line directly, so the home directory gets correct shell expansion.

  • .github/workflows/os2.yml
  • name: Build (OS/2)
    
    on: [push, pull_request]
    
    jobs:
      os2:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v2
    
          - name: Cache OpenWatcom
            uses: actions/cache@v2
            env:
              cache-name: cache-openwatcom
            with:
              path: ~/openwatcom
              key: ${{ runner.os }}-build-${{ env.cache-name }}
    
          - name: Download OpenWatcom if not cached
            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
            shell: bash
    
          - name: Build
            run: WATCOM="$HOME/openwatcom" build-scripts/os2-buildbot.sh
            shell: bash