PVC CI [skip tests] #29
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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: '*' | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| schedule: | |
| - cron: '0 0 * * 0' | |
| jobs: | |
| self-runner: | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ZE_ENABLE_VALIDATION_LAYER: '1' | |
| ZE_ENABLE_PARAMETER_VALIDATION: '1' | |
| EnableDebugBreak: '0' | |
| runs-on: [self-hosted, linux, X64] | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| julia-version: ['1'] | |
| julia-arch: [x64] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@latest | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| - name: Install debug libraries | |
| run: | | |
| julia --project=deps deps/build_ci.jl | |
| julia --project -e ' | |
| # use debug JLLs, for asserts + better backtraces | |
| using oneAPI | |
| oneAPI.set_debug!(true)' | |
| - name: Setup environment | |
| run: | | |
| julia --color=yes --project=./test -e ' | |
| using Pkg | |
| Pkg.Registry.update() | |
| Pkg.develop(path=".") | |
| Pkg.instantiate()' | |
| - name: Run tests | |
| run: | | |
| julia --project=test --color=no test/runtests.jl --jobs=8 |