-
Notifications
You must be signed in to change notification settings - Fork 110
Add conda.yaml baseline workflow file #281
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
a917e09
point to custom upstream arrow-datafusion with updated build script
jdye64 a88a672
cargo updates
jdye64 71876d9
Add conda.yaml baseline workflow file
jdye64 0e51698
Add support for rustfmt output environment variable
jdye64 e0e116c
Change conda recipe path
jdye64 da3284d
Add some debug output
jdye64 bb76af3
fix syntax issues
jdye64 58adb3c
update rustfmt path
jdye64 d8248af
test invoking rustfmt
jdye64 0bf7ae6
Allow for RUSTFMT environment to pass through to the conda build
jdye64 10c5db1
conda build updates
jdye64 789c6f4
github workflow syntax issue
jdye64 5e16eb1
workflow syntax
jdye64 7a0307b
more syntax
jdye64 5604710
updates
jdye64 50b4788
use minimal rustup profile
jdye64 3472648
use minimal rustup profile
jdye64 7c8555a
use minimal rustup profile
jdye64 ba8e37e
use minimal rustup profile
jdye64 1257c55
use minimal rustup profile
jdye64 ed6c698
changes
jdye64 451774b
changes
jdye64 e56205e
trigger workflow rebuild
jdye64 beb973c
Add container
jdye64 5965c8a
Ouput Rust env varialbes
jdye64 8cf6f47
full rustup command path
jdye64 d9a9517
Point to typify fork for testing
jdye64 174c793
Merge branch 'substrait_build_updates' into substrait_rustfmt_build
jdye64 a887b4d
Merge with upstream/main
jdye64 d2c1e1d
Adjust conda CI workflow
jdye64 cd7d054
Adjust conda build instead of mambabuild
jdye64 f7fa49d
Adjust command
jdye64 9989fd4
Install conda-build
jdye64 893060d
Some initial changes to get noarch builds working
charlesbluca dfe9b93
Remove beta rust toolchain from CI
jdye64 e574d47
Merge branch 'main' into substrait_rustfmt_build
jdye64 99b51e0
Add libprotobuf to host/build deps
charlesbluca f5aa2bf
Bump libprotobuf version
jdye64 9250f14
Revert back to 3 for libprotobuf
jdye64 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,61 @@ | ||
name: Build conda nightly | ||
on: [push, pull_request] | ||
|
||
# Cancel any already running instances of this build | ||
concurrency: | ||
group: conda-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
# Required shell entrypoint to have properly activated conda environments | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
jobs: | ||
conda: | ||
name: Build (and optionally upload) the conda nightly | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python | ||
uses: conda-incubator/[email protected] | ||
with: | ||
miniforge-variant: Mambaforge | ||
use-mamba: true | ||
python-version: "3.10" | ||
channel-priority: strict | ||
- name: Install dependencies | ||
run: | | ||
mamba install boa conda-verify | ||
|
||
which python | ||
pip list | ||
mamba list | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
components: clippy, rustfmt | ||
- name: Build conda package | ||
run: | | ||
# suffix for nightly package versions | ||
export VERSION_SUFFIX=a`date +%y%m%d` | ||
|
||
conda mambabuild conda/recipes \ | ||
--no-anaconda-upload \ | ||
--output-folder . | ||
# - name: Upload conda package | ||
# if: | | ||
# github.event_name == 'push' | ||
# && github.repository == 'apache/arrow-datafusion-python' | ||
# env: | ||
# ANACONDA_API_TOKEN: ${{ secrets.DASK_CONDA_TOKEN }} | ||
# LABEL: ${{ github.ref == 'refs/heads/datafusion-sql-planner' && 'dev_datafusion' || 'dev' }} | ||
# run: | | ||
# # install anaconda for upload | ||
# mamba install anaconda-client | ||
|
||
# anaconda upload --label $LABEL linux-64/*.tar.bz2 |
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.