From f61003d954e2c75fc159f7704b4d60e578305c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 8 Nov 2023 09:29:40 +0100 Subject: [PATCH] scriptcheck.yml: make dmake a separate job and run it on multiple platforms (#5632) This is essentially an unit test for the `FileLister` so we should make sure we have proper coverage. --- .github/workflows/scriptcheck.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scriptcheck.yml b/.github/workflows/scriptcheck.yml index 627cff4af..1850d855b 100644 --- a/.github/workflows/scriptcheck.yml +++ b/.github/workflows/scriptcheck.yml @@ -180,8 +180,21 @@ jobs: env: PYTHONPATH: ./tools - - name: dmake - if: matrix.python-latest + dmake: + strategy: + matrix: + os: [ubuntu-22.04, macos-12, windows-2022] + fail-fast: false + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v3 + + - name: run dmake + run: | + make -j2 CXXFLAGS="-w" run-dmake + + - name: check diff run: | - make -j$(nproc) CXXFLAGS="-w" run-dmake git diff --exit-code