From e2d08e87e30f880d8a84967c258b2d3571102637 Mon Sep 17 00:00:00 2001 From: Diego Argueta Date: Mon, 18 Mar 2024 02:36:54 -0400 Subject: [PATCH] Try testing on Windows --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48f9bb2..6e6b7c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,3 +95,35 @@ jobs: run: ./configure --cc=sdcc -m ${{ matrix.architecture }} - name: Compile run: make library + + testing-watcom: + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + architecture: + - i86 + - i186 + - i286 + - i386 + steps: + - run: git config --global core.autocrlf input + - uses: actions/checkout@v3 + - uses: cygwin/cygwin-install-action@v4 + with: + packages: >- + coreutils + make + - name: Install Watcom + uses: open-watcom/setup-watcom@v0 + with: + version: "2.0" + - name: Configure + run: ./configure --cc=owcc -m ${{ matrix.architecture }} + shell: C:\cygwin\bin\bash.exe '{0}' + - name: Compile + run: make library + - name: Test Installation + run: sudo make install + - name: Run Tests + run: make test