Skip to content

Commit

Permalink
choco
Browse files Browse the repository at this point in the history
  • Loading branch information
lnjX committed Oct 14, 2024
1 parent 0372193 commit 2114683
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,22 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_version }}
- name: Run tests
- name: Install deps
run: |
choco install pkgconfiglite
choco install protoc
- name: Compile libomemo-c
run: |
${env:PATH} += ";D:/a/qxmpp/qxmpp/src/Debug"
git clone https://github.com/dino/libomemo-c
cd libomemo-c
git checkout v0.5.0
mkdir D:/a/usr
cmake . -DCMAKE_INSTALL_PREFIX="D:/a/usr"
cmake --build .
cmake --install .
cmake . -DCMAKE_INSTALL_PREFIX="D:/a/usr" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
cmake --build . && cmake --install .
cd ..
- name: Run tests
run: |
${env:PATH} += ";D:/a/qxmpp/qxmpp/src/Debug"
cmake . -DBUILD_OMEMO=ON && cmake --build .
# ctest
# ctest --rerun-failed --output-on-failure
Expand Down

0 comments on commit 2114683

Please sign in to comment.