-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updating for nightly * update writer trait to use span * update for latest nightly * checkin * update for nightly * add scripts * nightly update * parametrize bytes funs * update to use trivial type * Cleanup buffered io structs * cleaned up buffer docs * update bufio docs * fix broken filewrapper funcs * add more benchmarks, but scanner needs to be fixed now * partial fix for scanner * fix scanner * fix scanner for input larger than internal buffer * fix reader from * fix reader from * break up bufio * update scanner benchmark * reorganizing repo to move towards using mojopkg more * cleaning up socket and making it work again * update tests to include the newline added to txt files by precommit * rm init from benchmarks * updated rattler build recipe * add max dep * update socket stuff * wip updating gojo ver * fix exclusivity err * add run benchmarks command * prep for 24.5 * update github workflow * fix workflow * fix workflow * fix workflow * add linux support to mojoproject * add linux support to mojoproject * remove mac runner for now due to hang on tests * update installation instructions * update installation instructions * remove build script * add build workflow * redeploy linux * revert condition * lifetime cleanup * fix up bufio writer * fix up bufio writer * tighten up bytes * tighten up bytes * tighten up bytes * tighten up bytes * tighten up bytes * up max version * up max version * up to 0.1.6.nightly * add missing files * lean on string slice to prevent copies * version up to 0.1.8 * version up to 0.1.8 * revert to build in main
- Loading branch information
1 parent
7cd2dfe
commit c253146
Showing
110 changed files
with
6,222 additions
and
5,567 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,54 @@ | ||
name: Build all packages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- main | ||
# on: ["push"] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
include: | ||
- { target: linux-64, os: ubuntu-latest } | ||
# - { target: osx-arm64, os: macos-14 } # mac runner crashes on mojo test | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,39 @@ | ||
name: Run Tests | ||
|
||
on: ["push"] | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: read | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
environment: basic | ||
name: with ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# os: ["ubuntu-latest", "macos-14"] # mac tests just hang for some reason? | ||
os: ["ubuntu-latest"] | ||
|
||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 5 | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install magic | ||
run: | | ||
curl https://get.modular.com | MODULAR_AUTH=${{ secrets.MODULAR_AUTH }} sh - | ||
modular auth ${{ secrets.MODULAR_AUTH }} | ||
modular install mojo | ||
pip install pytest | ||
pip install git+https://github.com/guidorice/mojo-pytest.git | ||
- name: Unit Tests | ||
curl -ssL https://magic.modular.com | bash | ||
- name: Run tests | ||
run: | | ||
export MODULAR_HOME="/home/runner/.modular" | ||
export PATH="/home/runner/.modular/pkg/packages.modular.com_mojo/bin:$PATH" | ||
pytest | ||
source $HOME/.bash_profile | ||
magic run tests | ||
magic run benchmarks |
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
Oops, something went wrong.