Skip to content

Commit

Permalink
build: add build targets (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf authored Jan 19, 2024
1 parent 7898fb6 commit 9917280
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target = ["x86_64-pc-windows-gnu", "x86_64-unknown-linux-gnu"]
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
run: cargo build --verbose --target=x86_64-unknown-linux-gnu
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose --target=x86_64-unknown-linux-gnu
- name: Run clippy
run: cargo clippy --verbose
run: cargo clippy --verbose --target=x86_64-unknown-linux-gnu

0 comments on commit 9917280

Please sign in to comment.