From e8cac02fb846428c86b4fe19038893b4fb040af2 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Tue, 28 Jun 2022 19:41:08 +0200 Subject: correct tests on github action --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5150697..e138e44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,9 @@ jobs: run: cmake --build build - name: Test - run: ctest --test-dir build + run: | + cd build + ctest . build-windows: runs-on: ubuntu-latest @@ -51,8 +53,9 @@ jobs: --recv-keys 86B72ED9 && \ sudo add-apt-repository \ "deb [arch=amd64] https://pkg.mxe.cc/repos/apt `lsb_release -sc` main" && \ + dpkg --add-architecture i386 sudo apt-get update - sudo apt-get -y install mxe-i686-w64-mingw32.static-{cc,cmake,qt5,curl,json-c} + sudo apt-get -y install wine wine32 mxe-i686-w64-mingw32.static-{cc,cmake,qt5,curl,json-c} - name: Configure CMake run: | @@ -69,7 +72,8 @@ jobs: - name: Test run: | - ctest --test-dir build + cd build + ctest - name: Upload Binaries if: ${{ !env.ACT }} -- cgit v1.2.3