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 469fdc1
Show file tree
Hide file tree
Showing 2 changed files with 15 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
7 changes: 7 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build]
pre-build = [
"ls /usr/local/bin",
"echo $PATH",
"xargo",
"cargo install bindgen-cli"
]

0 comments on commit 469fdc1

Please sign in to comment.