aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-06-28 19:41:08 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-06-28 19:41:08 +0200
commite8cac02fb846428c86b4fe19038893b4fb040af2 (patch)
tree18ba4e106433e79f0dbb718ed37e073945774562
parenta51036bf447a699511452da773dc4fad02192849 (diff)
downloadOFQT-e8cac02fb846428c86b4fe19038893b4fb040af2.tar.gz
OFQT-e8cac02fb846428c86b4fe19038893b4fb040af2.zip
correct tests on github action
-rw-r--r--.github/workflows/build.yml10
1 files 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 }}