From 56813d0203c782b108776abdce0f49758136ff52 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 3 Jan 2022 21:44:17 -0500 Subject: [PATCH] Create os2.yml This is a quick test to see if we can cache an OpenWatcom install on a GitHub Actions instance and build for OS/2 with it. --- .github/workflows/os2.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/os2.yml diff --git a/.github/workflows/os2.yml b/.github/workflows/os2.yml new file mode 100644 index 0000000000..2655ff2fe4 --- /dev/null +++ b/.github/workflows/os2.yml @@ -0,0 +1,28 @@ +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 '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 + shell: bash + + - name: Build + run: build-scripts/os2-buildbot.sh + shell: bash + env: + WATCOM: ~/openwatcom +