build[next]: switch dace version to main branch from git repo #2544
Workflow file for this run
This file contains 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: "Test Cartesian (CPU)" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths-ignore: # Skip when only gt4py.next or doc files have been updated | |
- "src/gt4py/next/**" | |
- "tests/next_tests/**" | |
- "examples/**" | |
- "*.md" | |
- "*.rst" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-cartesian: | |
strategy: | |
matrix: | |
codegen-factor: [internal, dace] | |
os: ["ubuntu-latest"] | |
python-version: ["3.10", "3.11"] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install C++ libraries | |
if: ${{ matrix.os == 'macos-latest' }} | |
shell: bash | |
run: brew install boost | |
- name: Install C++ libraries | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
shell: bash | |
run: sudo apt install libboost-dev | |
- name: Install uv and set the python version | |
uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
python-version: ${{ matrix.python-version }} | |
- name: Run CPU 'cartesian' tests with nox | |
env: | |
NUM_PROCESSES: auto | |
shell: bash | |
run: uv run nox -s 'test_cartesian-${{ matrix.python-version }}(${{ matrix.codegen-factor }}, cpu)' |