fix(ci): keep the linear wire type shared, count tf32 warns at the so… #1086
Workflow file for this run
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: "CodeQL" | |
| on: | |
| push: | |
| branches-ignore: | |
| - "gh-readonly-queue/**" | |
| - "copilot/**" | |
| - "dependabot/**" | |
| - "pre-commit-ci-update-config" | |
| pull_request: | |
| schedule: | |
| - cron: "45 2 * * 2" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-22.04' }} | |
| timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: ["c-cpp", "javascript-typescript", "python"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| if: matrix.language == 'c-cpp' | |
| - name: "Setup dependencies" | |
| if: matrix.language == 'c-cpp' | |
| run: | | |
| wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb \ | |
| && sudo dpkg -i cuda-keyring_1.0-1_all.deb \ | |
| && sudo apt-get update \ | |
| && sudo apt-get -y install cuda-cudart-dev-12-2 cuda-nvcc-12-2 | |
| python -m pip install uv | |
| uv pip install --system --group pin_tensorflow_cpu --group pin_pytorch_cpu --torch-backend cpu | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| # Initializes the CodeQL tools for scanning. | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| queries: security-extended,security-and-quality | |
| - name: "Run, Build Application using script" | |
| run: | | |
| source/install/build_cc.sh | |
| env: | |
| DP_VARIANT: cuda | |
| DOWNLOAD_TENSORFLOW: "FALSE" | |
| if: matrix.language == 'c-cpp' | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:${{matrix.language}}" |