Skip to content

Commit

Permalink
Merge pull request #1131 from esc/llvmdev_linux-64_conda_builder.yml
Browse files Browse the repository at this point in the history
llvmdev_linux-64_conda_builder.yml
  • Loading branch information
esc authored Feb 4, 2025
2 parents 998aa8e + dd12ed3 commit 0924039
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/llvmdev_linux-64_conda_builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: llvmdev_linux-64_conda_builder

on:
workflow_dispatch:

jobs:

linux:
name: Linux
runs-on: ubuntu-latest
defaults:
run:
shell: bash -elx {0}

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
auto-activate-base: true
activate-environment: ""

- name: Install conda-build
run: |
conda install conda-build
- name: Build llvmdev conda package
run: |
CONDA_CHANNEL_DIR="conda_channel_dir"
mkdir $CONDA_CHANNEL_DIR
conda build conda-recipes/llvmdev --output-folder=$CONDA_CHANNEL_DIR
ls -lah $CONDA_CHANNEL_DIR
- name: Upload llvmdev conda package
uses: actions/upload-artifact@v4
with:
name: llvmdev_linux-64_conda
path: conda_channel_dir
compression-level: 0
retention-days: 7
if-no-files-found: error

- name: Get Workflow Run ID
run: |
echo "Current workflow run ID: ${{ github.run_id }}"
echo "Use this ID when triggering llvmlite workflow"

0 comments on commit 0924039

Please sign in to comment.