diff --git a/.github/actions/setup-python/action.yml b/.github/actions/setup-python/action.yml index 2d1998905c..2027950b07 100644 --- a/.github/actions/setup-python/action.yml +++ b/.github/actions/setup-python/action.yml @@ -34,6 +34,13 @@ runs: path: .venv key: "venv-${{ runner.os }}-${{ hashFiles('requirements**.lock') }}" + - name: Export PYO3 Path + shell: bash + # Figure out a way to dynamically get python version + run: | + echo "PYO3_PYTHON=/home/runner/work/vortex/vortex/.venv/bin/python" >> $GITHUB_ENV + echo "PYO3_ENVIRONMENT_SIGNATURE=cpython-3.11-64bit" >> $GITHUB_ENV + - name: Rye Sync shell: bash # --no-lock prevents resolution of the lock file. The locks are still respected. @@ -44,4 +51,5 @@ runs: - name: Export Path shell: bash - run: echo "PATH=$PATH" >> $GITHUB_ENV \ No newline at end of file + run: echo "PATH=$PATH" >> $GITHUB_ENV + diff --git a/.github/actions/setup-rust/action.yml b/.github/actions/setup-rust/action.yml index 100b184cba..fc1c4884a4 100644 --- a/.github/actions/setup-rust/action.yml +++ b/.github/actions/setup-rust/action.yml @@ -30,15 +30,12 @@ runs: uses: mozilla-actions/sccache-action@v0.0.4 - name: Rust Compile Cache Config shell: bash + # echo "CARGO_LOG=cargo::core::compiler::fingerprint=info" >> $GITHUB_ENV run: | echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV echo "CARGO_INCREMENTAL=0" >> $GITHUB_ENV - - name: Rust Build - shell: bash - run: cargo build --all-targets - - name: Export Path shell: bash - run: echo "PATH=$PATH" >> $GITHUB_ENV \ No newline at end of file + run: echo "PATH=$PATH" >> $GITHUB_ENV diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ca91e0827..95955d9dfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,9 @@ jobs: - uses: ./.github/actions/setup-rust - uses: ./.github/actions/setup-python + - name: Rust Build + run: cargo build --all-targets + - name: Python Lint - Format run: rye run ruff format --check . - name: Python Lint - Ruff