Skip to content

Commit

Permalink
Merge branch 'VivekPanyam:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
bramhoven committed Nov 26, 2023
2 parents 63c4134 + 5348617 commit 46eb500
Show file tree
Hide file tree
Showing 59 changed files with 5,276 additions and 235 deletions.
6 changes: 4 additions & 2 deletions .buildkite/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ steps:
- name: "Native Build x86_64-unknown-linux-gnu"
agents:
queue: default
command: "python3 ci/build.py --release --target x86_64-unknown-linux-gnu --nightly --runner_release_dir target/runner_releases"
command: "python3 ci/build.py --release --target x86_64-unknown-linux-gnu --nightly --runner_release_dir target/runner_releases --c_cpp_bindings_release_dir target/bindings_releases"
artifact_paths:
- "target/cargo-timings/*"
- "target/wheels/*"
- "target/runner_releases/*"
- "target/bindings_releases/*"
plugins:
- docker-compose#v3.7.0:
run: x86_64
Expand All @@ -16,11 +17,12 @@ steps:
- name: "Native Build aarch64-unknown-linux-gnu"
agents:
queue: arm64
command: "python3 ci/build.py --release --target aarch64-unknown-linux-gnu --nightly --runner_release_dir target/runner_releases"
command: "python3 ci/build.py --release --target aarch64-unknown-linux-gnu --nightly --runner_release_dir target/runner_releases --c_cpp_bindings_release_dir target/bindings_releases"
artifact_paths:
- "target/cargo-timings/*"
- "target/wheels/*"
- "target/runner_releases/*"
- "target/bindings_releases/*"
plugins:
- docker-compose#v3.7.0:
run: arm64
Expand Down
25 changes: 24 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: rustup default stable
- uses: Swatinem/rust-cache@v2
- run: pip3 install toml maturin==0.14.13
- run: python3 ci/build.py --target x86_64-apple-darwin --release --nightly --runner_release_dir /tmp/runner_releases
- run: python3 ci/build.py --target x86_64-apple-darwin --release --nightly --runner_release_dir /tmp/runner_releases --c_cpp_bindings_release_dir /tmp/bindings_releases
- name: Upload runners
uses: actions/upload-artifact@v3
with:
Expand All @@ -29,6 +29,11 @@ jobs:
with:
name: py-wheels-macos-x86
path: target/wheels/
- name: Upload C/C++ bindings
uses: actions/upload-artifact@v3
with:
name: c-cpp-bindings-x86_64-apple-darwin
path: /tmp/bindings_releases
nightly_release_mac_aarch64:
name: "Native Build macOS aarch64"
runs-on: ubuntu-latest
Expand All @@ -50,6 +55,11 @@ jobs:
with:
name: py-wheels-macos-aarch64
path: /tmp/target/wheels/
- name: Upload C/C++ bindings
uses: actions/upload-artifact@v3
with:
name: c-cpp-bindings-macos-aarch64
path: /tmp/bindings_releases
nightly_release_buildkite:
name: "Native Builds Linux (x86_64 and aarch64)"
runs-on: ubuntu-latest
Expand All @@ -71,6 +81,11 @@ jobs:
with:
name: py-wheels-linux
path: /tmp/target/wheels/
- name: Upload C/C++ bindings
uses: actions/upload-artifact@v3
with:
name: c-cpp-bindings-linux
path: /tmp/target/bindings_releases

upload_nightly_builds:
name: "Upload nightly builds"
Expand Down Expand Up @@ -101,6 +116,14 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_NIGHTLY_TOKEN }}
TWINE_NON_INTERACTIVE: true
- name: Upload C and C++ bindings
run: cargo run --package build-utils --bin upload_c_cpp_bindings
env:
CARTON_NIGHTLY_S3_BUCKET: ${{ vars.CARTON_NIGHTLY_S3_BUCKET }}
CARTON_NIGHTLY_S3_REGION: ${{ vars.CARTON_NIGHTLY_S3_REGION }}
CARTON_NIGHTLY_S3_ENDPOINT: ${{ secrets.CARTON_NIGHTLY_S3_ENDPOINT }}
CARTON_NIGHTLY_ACCESS_KEY_ID: ${{ secrets.CARTON_NIGHTLY_ACCESS_KEY_ID }}
CARTON_NIGHTLY_SECRET_ACCESS_KEY: ${{ secrets.CARTON_NIGHTLY_SECRET_ACCESS_KEY }}
build_wasm:
name: WASM Build wasm32-unknown-unknown
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ target/
.vscode/
libtorch/

# csharp
.idea/
*.DS_Store
bin/
obj/
obj/
Loading

0 comments on commit 46eb500

Please sign in to comment.