-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1131 from esc/llvmdev_linux-64_conda_builder.yml
llvmdev_linux-64_conda_builder.yml
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |