dev 02 #57
This file contains hidden or 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: Ubuntu 22.04 | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| build: | |
| name: "Ubuntu 22.04 (Qt 5.15)" | |
| runs-on: [self-hosted, ubuntu-22.04] | |
| steps: | |
| # NOTE: issue resolved in CMakeLists.txt | |
| # - name: Debug Environment | |
| # run: | | |
| # echo "User: $(whoami)" | |
| # echo "PWD: $(pwd)" | |
| # echo "CI env var: $CI" | |
| # ls -lah /usr/lib/x86_64-linux-gnu/libkeyutils.so* || echo "Not found in /usr/lib..." | |
| # ls -lah /lib/x86_64-linux-gnu/libkeyutils.so.1* || echo "Not found in /lib..." | |
| # /sbin/ldconfig -p | grep libkeyutils || echo "ldconfig failed" | |
| # NOTE: Dependencies are already installed on the dev runner | |
| # - name: update apt | |
| # run: sudo apt-get update | |
| # - name: install dependencies | |
| # run: | | |
| # sudo apt-get install -y git cmake build-essential ccache \ | |
| # qtbase5-dev libqt5sql5-sqlite libgl1-mesa-dev | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Clean (between runs on VPS) | |
| run: make clean | |
| - name: Build Release | |
| run: make release | |
| - name: Test | |
| run: make test | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: nutra-ubuntu-22.04 | |
| path: build/nutra |