This is an automated email from the ASF dual-hosted git repository.
milenkovicm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-ballista.git
The following commit(s) were added to refs/heads/main by this push:
new 5a93b9bb chore(ci): build fails with strange error (#1222)
5a93b9bb is described below
commit 5a93b9bb3d6ad5ba400392f46a5ab17600d3e619
Author: Marko Milenković <[email protected]>
AuthorDate: Thu Apr 10 09:21:36 2025 +0100
chore(ci): build fails with strange error (#1222)
```
actions-rs/toolchain@v1 is not allowed to be used in
apache/datafusion-ballista. A
```
---
.github/workflows/build.yml | 46 ++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ce92d5a5..1ebffa3e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -37,16 +37,16 @@ jobs:
python -m pip install --upgrade pip
pip install ruff
# Update output format to enable automatic inline annotations.
-# - name: Run Ruff
-# run: |
-# ruff check --output-format=github python/
-# ruff format --check python/
+ # - name: Run Ruff
+ # run: |
+ # ruff check --output-format=github python/
+ # ruff format --check python/
generate-license:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: actions-rs/toolchain@v1
+ - uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
@@ -74,7 +74,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- - uses: actions-rs/toolchain@v1
+ - uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
@@ -98,7 +98,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cargo build
- run: cd python && cargo build
+ run: cd python && cargo build
- name: Build Python package
run: cd python && maturin build --release --strip
@@ -135,7 +135,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- - uses: actions-rs/toolchain@v1
+ - uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
@@ -177,7 +177,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: rm LICENSE.txt
-
+
- name: Download LICENSE.txt
uses: actions/download-artifact@v4
with:
@@ -198,7 +198,7 @@ jobs:
run: pip install maturin==1.5.1
- name: Cargo Build
run: cd python && cargo build
-
+
- name: Build Python package
run: cd python && maturin build --release --strip
- name: Archive wheels
@@ -221,7 +221,7 @@ jobs:
path: .
- run: cat LICENSE.txt
-
+
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
@@ -234,7 +234,7 @@ jobs:
run: pip install maturin==1.5.1
- name: Cargo Build
run: cd python && cargo build
-
+
- name: Build Python package
run: cd python && maturin build --release --strip
- name: Archive wheels
@@ -255,9 +255,9 @@ jobs:
with:
name: python-wheel-license
path: .
-
+
- run: cat LICENSE.txt
-
+
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
@@ -272,17 +272,17 @@ jobs:
run: cd python && cargo build
- name: Build Python package
run: cd python && maturin build --release --sdist --out dist --strip
-
+
- name: Assert sdist build does not generate wheels
run: |
- if [ "$(ls -A target/wheels)" ]; then
- echo "Error: Sdist build generated wheels"
- exit 1
- else
- echo "Directory is clean"
- fi
+ if [ "$(ls -A target/wheels)" ]; then
+ echo "Error: Sdist build generated wheels"
+ exit 1
+ else
+ echo "Directory is clean"
+ fi
shell: bash
-
+
merge-build-artifacts:
runs-on: ubuntu-latest
needs:
@@ -297,7 +297,7 @@ jobs:
with:
name: dist
pattern: dist-*
-
+
# NOTE: PyPI publish needs to be done manually for now after release passed
the vote
# release:
# name: Publish in PyPI
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]