Download chips/yosys/.github/workflows/codeql.yml from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/.github/workflows/codeql.yml
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/.github/workflows/codeql.yml
-
curl -L -o codeql.yml https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/.github/workflows/codeql.yml
1.05 kB
| name: "CodeQL" | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 3 * * 6' | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| - name: Setup environment | |
| uses: ./.github/actions/setup-build-env | |
| with: | |
| runs-on: ubuntu-latest | |
| get-build-deps: true | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: cpp | |
| queries: security-extended,security-and-quality | |
| - name: Build | |
| run: | | |
| rm -rf build Configuration.cmake | |
| echo 'set(CMAKE_C_COMPILER clang CACHE STRING "")' >> Configuration.cmake | |
| echo 'set(CMAKE_CXX_COMPILER clang++ CACHE STRING "")' >> Configuration.cmake | |
| cmake -C Configuration.cmake -B build . -DYOSYS_WITHOUT_ABC=ON -DYOSYS_WITHOUT_SLANG=ON | |
| cmake --build build -j6 | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |