Skip to content

Commit c685b9c

Browse files
committed
Add build script
1 parent fe68f21 commit c685b9c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ jobs:
4343
with:
4444
python-version: '3.9'
4545
cache: 'pip'
46-
- name: Install python dependencies
47-
run: pip install -r requirements.txt
4846
- name: Set default toolchain
4947
run: rustup default ${{ matrix.rust.version }}
5048
- name: Set profile

build.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
use std::process::Command;
2+
fn main() {
3+
Command::new("pip")
4+
.args(vec!["install", "-r", "requirements.txt"])
5+
.output()
6+
.expect("failed to install library requirements");
7+
}

0 commit comments

Comments
 (0)