Skip to content

Commit 1abfc8b

Browse files
committed
chore: Add rust dependencies to gh-actions
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
1 parent aafecab commit 1abfc8b

3 files changed

Lines changed: 27 additions & 6 deletions

File tree

.github/workflows/macos.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,20 @@ jobs:
3737

3838
- uses: actions/cache@v3
3939
with:
40-
path: "build/vcpkg_installed/**/*"
41-
key: ${{ matrix.os }}-vcpkg_installed
40+
key: ${{ matrix.os }}-packages
41+
path: |
42+
"build/vcpkg_installed/**/*"
43+
~/.cargo/registry
44+
~/.cargo/git
4245
4346
- name: install dependencies
4447
run: |
4548
brew install pkg-config autoconf autoconf-archive automake coreutils libtool cmake ninja
4649
50+
- name: Install rust dependencies
51+
run: |
52+
cargo install wasm-tools wit-bindgen-cli
53+
4754
- name: configure
4855
run: |
4956
cmake --preset linux-ninja-Debug

.github/workflows/ubuntu.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ jobs:
3131

3232
- uses: actions/cache@v3
3333
with:
34-
path: "build/vcpkg_installed/**/*"
35-
key: ${{ matrix.os }}-vcpkg_installed
34+
key: ${{ matrix.os }}-packages
35+
path: |
36+
"build/vcpkg_installed/**/*"
37+
~/.cargo/registry
38+
~/.cargo/git
3639
3740
- name: install dependencies
3841
run: |
@@ -43,6 +46,10 @@ jobs:
4346
build-essential \
4447
ninja-build
4548
49+
- name: Install rust dependencies
50+
run: |
51+
cargo install wasm-tools wit-bindgen-cli
52+
4653
- name: configure
4754
run: |
4855
cmake --preset linux-ninja-Debug

.github/workflows/windows.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,17 @@ jobs:
3030
with:
3131
submodules: recursive
3232

33+
- name: Install rust dependencies
34+
run: |
35+
cargo install wasm-tools wit-bindgen-cli
36+
3337
- uses: actions/cache@v3
3438
with:
35-
path: "build/vcpkg_installed/**/*"
36-
key: ${{ matrix.os }}-vcpkg_installed
39+
key: ${{ matrix.os }}-packages
40+
path: |
41+
"build/vcpkg_installed/**/*"
42+
~/.cargo/registry
43+
~/.cargo/git
3744
3845
- name: configure
3946
run: |

0 commit comments

Comments
 (0)