Skip to content

Commit

Permalink
various updates
Browse files Browse the repository at this point in the history
As title
  • Loading branch information
esc committed Jan 23, 2025
1 parent a9a5ed1 commit 1ee9a9b
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/llvmlite_win-64_conda_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: windows-2019
defaults:
run:
shell: bash -el {0}
shell: bash -elx {0}
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
Expand All @@ -42,26 +42,29 @@ jobs:
uses: actions/download-artifact@v4
with:
name: llvmdev_win-64_conda
path: llvmdev_conda_packages
run-id: ${{ inputs.llvmdev_run_id }}
repository: ${{ github.repository }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build llvmlite conda package
run: |
if [ "${{ inputs.llvmdev_run_id }}" != "" ]; then
LLVMDEV_CHANNEL="file://."
ls -lah $PWD/llvmdev_conda_packages
LLVMDEV_CHANNEL="file://$PWD/llvmdev_conda_packages"
else
LLVMDEV_CHANNEL="numba"
fi
CONDA_BUILD_CMD="conda build -c $LLVMDEV_CHANNEL --python=${{ matrix.python-version }} conda-recipes/llvmlite"
CONDA_BUILD_CMD="conda build --debug -c $LLVMDEV_CHANNEL --python=${{ matrix.python-version }} conda-recipes/llvmlite"
$CONDA_BUILD_CMD
echo "CONDA_PKG=$($CONDA_BUILD_CMD --output )" >> $GITHUB_ENV
echo "CONDA_CHANNEL_DIR=$(dirname $($CONDA_BUILD_CMD --output ))" >> $GITHUB_ENV
ls -lah $CONDA_CHANNEL_DIR
- name: Upload llvmlite conda package
uses: actions/upload-artifact@v4
with:
name: llvmlite-win-64-py${{ matrix.python-version }}
path: ${{ env.CONDA_PKG }}
path: ${{ env.CONDA_CHANNEL_DIR }}
compression-level: 0
retention-days: 7
if-no-files-found: error
Expand All @@ -72,7 +75,7 @@ jobs:
runs-on: windows-2019
defaults:
run:
shell: bash -el {0}
shell: bash -elx {0}
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
Expand All @@ -87,8 +90,9 @@ jobs:
with:
name: llvmlite-win-64-py${{ matrix.python-version }}

- name: Install llvmlite
run: conda install llvmlite-*.conda
- name: Install conda-build and llvmlite
run: |
conda install conda-build
- name: Run tests
run: conda run -n "test" "python -m llvmlite.tests"
run: conda build --test llvmlite*.conda

0 comments on commit 1ee9a9b

Please sign in to comment.