Skip to content

Commit

Permalink
[CI] use python3 instead of python in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Dec 29, 2024
1 parent 83369cc commit cf5dbc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/build-linux-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ for cfg in Debug Release; do
done

# Build Python packages
python -m build -w "$pkg_dir" -o "$out_dir" \
python3 -m build -w "$pkg_dir" -o "$out_dir" \
-C local="$PWD/scripts/ci/py-build-cmake.toml" \
-C local="$pbc_config"
python -m build -w "$pkg_dir/python/alpaqa-debug" -o "$out_dir" \
python3 -m build -w "$pkg_dir/python/alpaqa-debug" -o "$out_dir" \
-C local="$PWD/scripts/ci/py-build-cmake.toml" \
-C component="$PWD/scripts/ci/py-build-cmake.component.toml" \
-C local="$pbc_config"
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ for cfg in Debug Release; do
done

# Build Python packages
python -m build -w "$pkg_dir" -o "$out_dir" \
python3 -m build -w "$pkg_dir" -o "$out_dir" \
-C local="$PWD/scripts/ci/py-build-cmake.toml" \
-C cross="$pbc_config"
python -m build -w "$pkg_dir/python/alpaqa-debug" -o "$out_dir" \
python3 -m build -w "$pkg_dir/python/alpaqa-debug" -o "$out_dir" \
-C local="$PWD/scripts/ci/py-build-cmake.toml" \
-C component="$PWD/scripts/ci/py-build-cmake.component.toml" \
-C cross="$pbc_config"

0 comments on commit cf5dbc2

Please sign in to comment.