Changeset: dc920c0ec4f4 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dc920c0ec4f4
Modified Files:
        .github/workflows/linux.yml
Branch: default
Log Message:

try running ctest also on windows


diffs (47 lines):

diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -42,6 +42,8 @@ jobs:
           - os: ubuntu-latest
             c_compiler: cl
     runs-on: ${{ matrix.os }}
+    env:
+      CTEST: ${{ runner.os == 'Windows' && 'RUN_TESTS' || 'test' }}
     steps:
       - name: Checkout
         uses: actions/checkout@v3
@@ -86,17 +88,6 @@ jobs:
           make install -j3
         if: runner.os == 'macOS'
 
-      - name: ctest 
-        run: |
-          cd build 
-          cmake --build . --target test
-        if: runner.os != 'Windows'
-
-      - name: mtest 
-        run: |
-          PATH=$HOME/MDB/bin:$PATH $HOME/MDB/bin/Mtest.py -r --debug=0 --ci 
--no-html --TSTTRGBASE=.
-        if: runner.os != 'Windows'
-
       - name: choco packages
         run: |
           choco install winflexbison3
@@ -112,6 +103,16 @@ jobs:
           cmake --build . --target install
         if: runner.os == 'Windows'
 
+      - name: ctest 
+        run: |
+          cd build 
+          cmake --build . --target ${{ CTEST }}
+
+      - name: mtest 
+        run: |
+          PATH=$HOME/MDB/bin:$PATH $HOME/MDB/bin/Mtest.py -r --debug=0 --ci 
--no-html --TSTTRGBASE=.
+        if: runner.os != 'Windows'
+
       - name: mtest 
         shell: pwsh
         run: |
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to