Skip to content

Commit

Permalink
Adjoint n ci (#1)
Browse files Browse the repository at this point in the history
* update dfdx to latest / rebased

* feat: adjoint 'n ci
  • Loading branch information
strasdat authored Nov 10, 2023
1 parent 111711c commit 0767948
Show file tree
Hide file tree
Showing 25 changed files with 252 additions and 236 deletions.
35 changes: 9 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,16 @@ 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
rustup component add clippy --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 = git@github.com:farm-ng/dfdx.git
137 changes: 86 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ num-traits = "0.2.15"
nalgebra = "0.32"
approx = "0.5.1"
enum_dispatch = "0.3.6"
dfdx = { git = "https://github.com/farm-ng/dfdx" }
dfdx-core = { path = "dfdx/dfdx-core" }
tuple_list = "0.1.3"
sprs = "0.11"
sprs-ldl = "0.10"
faer-core = "0.9.1"
faer-core = "0.14.1"

[dev-dependencies.proptest]
version = "1.1.0"
Expand Down
1 change: 1 addition & 0 deletions dfdx
Submodule dfdx added at 610b3e
Loading

0 comments on commit 0767948

Please sign in to comment.