Skip to content

Commit

Permalink
Try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Jun 10, 2024
1 parent 81df80c commit 5b5dc11
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install nasm
run: choco install nasm
if: startsWith(matrix.os, 'windows')

- name: Put nasm into PATH
run: echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
if: startsWith(matrix.os, 'windows')

- name: cargo build
run: cargo build

Expand Down
6 changes: 6 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build]
pre-build = [
"ls /usr/bin",
"xargo",
"cargo install bindgen-cli"
]

0 comments on commit 5b5dc11

Please sign in to comment.