-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP for nightly, unicode characters kinda broke a good chunk of the examples * unicode working in nightly again :) * fix up benchmarks * fix up benchmarks * add new workflows * add new workflows * add new workflows * fix build * ver up * prepare 24.5 * prepare 24.5 * test on mac
- Loading branch information
1 parent
51d3365
commit a8a60c0
Showing
112 changed files
with
2,220 additions
and
10,551 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,51 @@ | ||
name: Build all packages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
# on: ["push"] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
include: | ||
- { target: linux-64, os: ubuntu-latest } | ||
- { target: osx-arm64, os: macos-14 } | ||
fail-fast: false | ||
|
||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 5 | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install magic | ||
run: | | ||
curl -ssL https://magic.modular.com | bash | ||
- name: Build package for target platform | ||
env: | ||
TARGET_PLATFORM: ${{ matrix.target }} | ||
PREFIX_API_KEY: ${{ secrets.PREFIX_API_KEY }} | ||
CONDA_BLD_PATH: ${{ runner.workspace }}/.rattler | ||
|
||
run: | | ||
source $HOME/.bash_profile | ||
# Temporary method to fetch the rattler binary. | ||
RATTLER_BINARY="rattler-build-aarch64-apple-darwin" | ||
if [[ $TARGET_PLATFORM == "linux-64" ]]; then RATTLER_BINARY="rattler-build-x86_64-unknown-linux-musl"; fi | ||
curl -SL --progress-bar https://github.com/prefix-dev/rattler-build/releases/latest/download/${RATTLER_BINARY} -o rattler-build | ||
chmod +x rattler-build | ||
# Build and push | ||
magic run build --target-platform=$TARGET_PLATFORM | ||
magic run publish |
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
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
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
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
File renamed without changes.
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
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
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
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.