From 6eefee8d183d39895557cfd1eb7cc8433ea46dcc Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Fri, 19 Jun 2020 11:09:46 +0200 Subject: [PATCH] gh-actions: add jobs for WINE cross builds --- .github/workflows/build-and-test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6f64128..1411fc9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -128,3 +128,29 @@ jobs: run: python cue.py test - name: Collect and show test results run: python cue.py test-results + + build-wine: + name: WINE${{ matrix.wine }} / ${{ matrix.configuration }} / ${{ matrix.os }} + runs-on: ${{ matrix.os }} + env: + CMP: ${{ matrix.cmp }} + BCFG: ${{ matrix.configuration }} + WINE: ${{ matrix.wine }} + APT: re2c g++-mingw-w64-i686 g++-mingw-w64-x86-64 + strategy: + fail-fast: false + matrix: + os: [ubuntu-18.04] + cmp: [gcc] + configuration: [default, static, debug, static-debug] + wine: [32, 64] + steps: + - uses: actions/checkout@v2 + - name: Prepare and compile dependencies + run: python cue.py prepare + - name: Build main module (example app) + run: python cue.py build + - name: Run main module tests + run: python cue.py test + - name: Collect and show test results + run: python cue.py test-results