Fix thread safety, input validation, and error handling (#6) #25
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
| # | |
| # BSD 3-Clause License | |
| # Copyright (C) 2026 Intel Corporation | |
| # SPDX-License-Identifier: BSD-3-Clause | |
| # | |
| name: Daily Build | |
| on: | |
| schedule: | |
| # Run at 10:00 PM UTC, Monday through Friday | |
| - cron: '0 22 * * 1-5' | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Daily Build | |
| runs-on: self-hosted | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Clean up previous run | |
| run: | | |
| echo "Cleaning up previous run artifacts" | |
| find "${{ github.workspace }}" -mindepth 1 -maxdepth 1 -exec rm -rf {} + | |
| - name: Checkout repository | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| ref: ${{ github.sha }} | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Environment check | |
| uses: ./.github/actions/environment-check | |
| - name: Build dvledtx | |
| uses: ./.github/actions/build-dvledtx | |
| - name: Smoke test | |
| uses: ./.github/actions/smoke-tests | |
| - name: Run unit tests | |
| uses: ./.github/actions/unit-tests | |
| - name: ShellCheck | |
| uses: ./.github/actions/analysis/shellcheck | |
| - name: cppcheck | |
| uses: ./.github/actions/analysis/cppcheck | |
| - name: Coverity Scan | |
| uses: ./.github/actions/analysis/coverity | |
| - name: Trivy Scan | |
| uses: ./.github/actions/analysis/trivy | |
| - name: Upload daily build reports | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | |
| if: always() | |
| with: | |
| name: dvledtx-build-artifacts-${{ github.run_id }} | |
| path: ${{ github.workspace }}/reports/ | |
| retention-days: 30 |