Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvmdev_linux-64_conda_builder.yml #1131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"