Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
barakugav committed Aug 16, 2024
1 parent 7a5e21c commit 29cc2af
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,21 @@ jobs:
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
- name: Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.77.0
components: clippy
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Python requirements
run: pip install -r scripts/requirements.txt
# - name: Install Python
# uses: actions/setup-python@v5
# with:
# python-version: "3.12"
# cache: pip
# token: ${{ secrets.GITHUB_TOKEN }}
# - name: Install Python requirements
# run: pip install -r scripts/requirements.txt

############ Install executorch deps ############
- name: Cache Cpp ExecuTorch compiled libraries
Expand All @@ -48,26 +50,27 @@ jobs:
if: steps.cache-executorch-cpp-libs.outputs.cache-hit != 'true'
run: python scripts/setup_dev.py --skip-executorch-python

############ Build executorch-rs ############
- name: Build
run: cargo build

############ Linters ############
- name: Rust Clippy linter
uses: auguwu/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
# ############ Build executorch-rs ############
# - name: Build
# run: cargo build

# ############ Linters ############
# - name: Rust Clippy linter
# uses: auguwu/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}

############ Tests ############
- name: Run Rust tests
run: cargo test --workspace --all-features
# ############ Tests ############
# - name: Run Rust tests
# run: cargo test --workspace --all-features

############ Examples ############
- name: Run 'hello world add' example
# python export_model.py
run: cargo run
run: RUST_BACKTRACE=full cargo run
working-directory: examples/hello_world_add
- name: Run 'hello world add no_std' example
# python export_model.py
run: cargo run
run: RUST_BACKTRACE=full cargo run
working-directory: examples/hello_world_add_no_std

0 comments on commit 29cc2af

Please sign in to comment.