Skip to content

Commit

Permalink
Try using rust from conda
Browse files Browse the repository at this point in the history
  • Loading branch information
Luthaf committed Mar 25, 2024
1 parent 479068f commit 8810790
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: setup rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: setup Python
uses: actions/setup-python@v5
Expand All @@ -37,10 +32,6 @@ jobs:
- name: install nox
run: python -m pip install nox

- name: install cp2k
if: matrix.example-name == 'cp2k_run_batch'
run: sudo apt-get install -y cp2k

- name: build example
run: nox -e ${{ matrix.example-name }}

Expand All @@ -56,11 +47,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: setup Python
uses: actions/setup-python@v5
with:
Expand Down
3 changes: 3 additions & 0 deletions examples/gaas-map/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
channels:
- conda-forge
dependencies:
- python=3.11
- pip
- rust
- pip:
- ase
- chemiscope
Expand Down
3 changes: 3 additions & 0 deletions examples/lode-linear/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
channels:
- conda-forge
dependencies:
- python=3.11
- pip
- rust
- pip:
- ase
- equisolve @ git+https://github.com/lab-cosmo/equisolve.git@c858bedef4b2799eb445e4c92535ee387224089a
Expand Down
3 changes: 3 additions & 0 deletions examples/roy-gch/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
channels:
- conda-forge
dependencies:
- python=3.11
- pip
- rust
- pip:
- ase
- chemiscope
Expand Down
3 changes: 3 additions & 0 deletions examples/sample-selection/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
channels:
- conda-forge
dependencies:
- python=3.11
- pip
- rust
- pip:
- ase
- chemiscope
Expand Down

0 comments on commit 8810790

Please sign in to comment.