File tree Expand file tree Collapse file tree 12 files changed +2090
-20
lines changed
Expand file tree Collapse file tree 12 files changed +2090
-20
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,32 @@ jobs:
3535 with :
3636 submodules : recursive
3737
38- - uses : actions/cache@v3
38+ - name : Cache Cargo registry
39+ if : always()
40+ uses : actions/cache@v3
3941 with :
40- path : " build/vcpkg_installed/**/*"
41- key : ${{ matrix.os }}-vcpkg_installed
42+ key : ${{ runner.os }}-cargo-registry-${{ hashFiles('./Cargo.lock') }}
43+ path : ~/.cargo/registry
44+ restore-keys : |
45+ ${{ runner.os }}-cargo-registry-
46+
47+ - name : Cache vcpkg registry
48+ if : always()
49+ uses : actions/cache@v3
50+ with :
51+ key : ${{ runner.os }}-vcpkg-${{ hashFiles('./vcpkg*.lock') }}
52+ path : build/vcpkg_installed/**/*
53+ restore-keys : |
54+ ${{ runner.os }}-vcpkg-
4255
4356 - name : install dependencies
4457 run : |
4558 brew install pkg-config autoconf autoconf-archive automake coreutils libtool cmake ninja
4659
60+ - name : Install rust dependencies
61+ run : |
62+ cargo install wasm-tools wit-bindgen-cli
63+
4764 - name : configure
4865 run : |
4966 cmake --preset linux-ninja-Debug
Original file line number Diff line number Diff line change @@ -29,10 +29,23 @@ jobs:
2929 with :
3030 submodules : recursive
3131
32- - uses : actions/cache@v3
32+ - name : Cache Cargo registry
33+ if : always()
34+ uses : actions/cache@v3
3335 with :
34- path : " build/vcpkg_installed/**/*"
35- key : ${{ matrix.os }}-vcpkg_installed
36+ key : ${{ runner.os }}-cargo-registry-${{ hashFiles('./Cargo.lock') }}
37+ path : ~/.cargo/registry
38+ restore-keys : |
39+ ${{ runner.os }}-cargo-registry-
40+
41+ - name : Cache vcpkg registry
42+ if : always()
43+ uses : actions/cache@v3
44+ with :
45+ key : ${{ runner.os }}-vcpkg-${{ hashFiles('./vcpkg*.lock') }}
46+ path : build/vcpkg_installed/**/*
47+ restore-keys : |
48+ ${{ runner.os }}-vcpkg-
3649
3750 - name : install dependencies
3851 run : |
4356 build-essential \
4457 ninja-build
4558
59+ - name : Install rust dependencies
60+ run : |
61+ cargo install wasm-tools wit-bindgen-cli
62+
4663 - name : configure
4764 run : |
4865 cmake --preset linux-ninja-Debug
Original file line number Diff line number Diff line change @@ -30,10 +30,27 @@ jobs:
3030 with :
3131 submodules : recursive
3232
33- - uses : actions/cache@v3
33+ - name : Cache Cargo registry
34+ if : always()
35+ uses : actions/cache@v3
3436 with :
35- path : " build/vcpkg_installed/**/*"
36- key : ${{ matrix.os }}-vcpkg_installed
37+ key : ${{ runner.os }}-cargo-registry-${{ hashFiles('./Cargo.lock') }}
38+ path : ~/.cargo/registry
39+ restore-keys : |
40+ ${{ runner.os }}-cargo-registry-
41+
42+ - name : Cache vcpkg registry
43+ if : always()
44+ uses : actions/cache@v3
45+ with :
46+ key : ${{ runner.os }}-vcpkg-${{ hashFiles('./vcpkg*.lock') }}
47+ path : build/vcpkg_installed/**/*
48+ restore-keys : |
49+ ${{ runner.os }}-vcpkg-
50+
51+ - name : Install rust dependencies
52+ run : |
53+ cargo install wasm-tools wit-bindgen-cli
3754
3855 - name : configure
3956 run : |
Original file line number Diff line number Diff line change 44/vcpkg_installed
55/test /wasm /build *
66.DS_Store
7+
8+
9+ # Added by cargo
10+
11+ /target
You can’t perform that action at this time.
0 commit comments