Skip to content

Commit

Permalink
feat: adjoint 'n ci
Browse files Browse the repository at this point in the history
  • Loading branch information
strasdat committed Nov 10, 2023
1 parent 6091b26 commit c4e3179
Show file tree
Hide file tree
Showing 10 changed files with 122 additions and 259 deletions.
34 changes: 8 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,15 @@ jobs:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
- name: cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: maturin
- name: cargo
run: |
cd py
python3 -m venv .env
source .env/bin/activate
pip3 install maturin numpy
maturin develop
python3 -m test
rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
cargo fmt
cargo check
cargo clippy
cargo test



3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "dfdx"]
path = dfdx
url = [email protected]:farm-ng/dfdx.git
Loading

0 comments on commit c4e3179

Please sign in to comment.