aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-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 }}