fix: removed unneede deps #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
run-tests-shared: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
env: | |
QT_INSTALLER_JWT_TOKEN: ${{ secrets.QT_INSTALLER_JWT_TOKEN }} | |
run: | | |
./scripts/setup --shared | |
- name: Build project | |
run: | | |
./scripts/configure -- -DBUILD_TESTING=ON | |
cmake --build ./build | |
- name: Run test | |
run: | | |
ctest --test-dir ./build --verbose | |
run-tests-static: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
env: | |
QT_INSTALLER_JWT_TOKEN: ${{ secrets.QT_INSTALLER_JWT_TOKEN }} | |
run: | | |
./scripts/setup --static | |
- name: Build project | |
run: | | |
./scripts/configure -- -DBUILD_TESTING=ON | |
cmake --build ./build | |
- name: Run test | |
run: | | |
ctest --test-dir ./build --verbose |