Skip to content

Tweaking cache still #19

Tweaking cache still

Tweaking cache still #19

Workflow file for this run

name: "Dry Run"
on:
pull_request:
push:
jobs:
run_steps_from_readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: |
~/nn/target
key: ${{ runner.os }}-cache
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Compile Rust Code
run: |
echo "Compiling Rust Code"
pushd nn
nix develop . --command cargo build --release
popd
- name: Generate Optimized Trajectories
run: |
echo "Generating Optimised Trajectories"
pushd generate_data
nix develop . --command env GENERATE_DATA_N_TRAJECTORIES=20 uv run quadcopter.py
popd
# - name: Run Training
# run: |
# echo "Running Training"
# pushd nn
# nix develop . --command env RUST_BACKTRACE=1 cargo run --release --bin train
# popd
# - name: Run Inference
# run: |
# echo "Running Inference"
# pushd nn
# nix develop . --command env RUST_BACKTRACE=1 cargo run --release --bin vis_results
# popd