re-format re-source bytes file #46
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: Build (Debug) Lazyboard for Linux | |
| on: | |
| push: | |
| branches: [ "dev"] | |
| pull_request: | |
| branches: ["dev"] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| APP_NAME: "Lazyboard" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| shell: bash | |
| run: | | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
| echo "$HOME/.cargo/bin:$PATH" >> $GITHUB_PATH | |
| - name: Install requirements | |
| shell: bash | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| git cmake make ccache \ | |
| clang sqlite3 | |
| - name: Install Qt | |
| uses: jurplel/install-qt-action@v4 | |
| - name: Add Rust components | |
| shell: bash | |
| run: | | |
| rustup component add clippy | |
| - name: Linter Check (Backend) | |
| shell: bash | |
| run: | | |
| make check-backend | |
| - name: Backend Test | |
| shell: bash | |
| run: | | |
| make backend-test | |
| - name: Frontend + Backend FFI Test | |
| shell: bash | |
| run: | | |
| make tests-ffi | |
| - name: Build Lazyboard | |
| shell: bash | |
| run: | | |
| make debug-non-gui | |
| - name: Linter Check (Frontend) | |
| shell: bash | |
| run: | | |
| make check-frontend | |
| - name: Upload Release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ env.APP_NAME }} | |
| path: build/${{ env.APP_NAME }} |