Skip to content

Commit 0fb7d4d

Browse files
committed
fix: compile
1 parent bc4cda2 commit 0fb7d4d

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/rust.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,18 @@ jobs:
5959
- run: rustup toolchain install ${{ inputs.RUST_TOOLCHAIN }} --profile minimal
6060
- uses: Swatinem/rust-cache@v2
6161

62+
- name: Install macos deps
63+
if: matrix.name == 'macos'
64+
run: |
65+
brew update
66+
brew install nasm yasm
67+
6268
- name: Install cargo bundle and deps
6369
if: matrix.name == 'ubuntu'
6470
shell: bash
6571
run: |
6672
sudo apt update -y
67-
sudo apt-get install -y pkg-config libasound2-dev libssl-dev libclang-dev
73+
sudo apt-get install -y pkg-config libasound2-dev libssl-dev libclang-dev nasm yasm
6874
6975
pushd /tmp
7076
git clone https://github.com/burtonageo/cargo-bundle
@@ -130,10 +136,17 @@ jobs:
130136
- run: rustup toolchain install ${{ inputs.RUST_TOOLCHAIN }} --profile minimal
131137
- uses: Swatinem/rust-cache@v2
132138

133-
- name: setup vcpkg (do not install any package)
134-
uses: lukka/run-vcpkg@v10
135-
with:
136-
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
139+
# - name: setup vcpkg (do not install any package)
140+
# uses: lukka/run-vcpkg@v10
141+
# with:
142+
# vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
143+
144+
- name: Verify toolchain
145+
run: |
146+
where cl
147+
where link
148+
cl /?
149+
link /?
137150
138151
- name: build RustPlayer
139152
shell: bash

0 commit comments

Comments
 (0)