|
|
@ -82,13 +82,12 @@ jobs:
|
|
|
|
wamerican
|
|
|
|
wamerican
|
|
|
|
- name: Cache Cargo
|
|
|
|
- name: Cache Cargo
|
|
|
|
uses: actions/cache@v2
|
|
|
|
uses: actions/cache@v2
|
|
|
|
env:
|
|
|
|
|
|
|
|
cache-name: cargo
|
|
|
|
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.cargo
|
|
|
|
path: |
|
|
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./awsm/Cargo.lock') }}
|
|
|
|
~/.cargo/registry
|
|
|
|
restore-keys: |
|
|
|
|
~/.cargo/git
|
|
|
|
${{ runner.os }}-build-${{ env.cache-name }}-
|
|
|
|
./awsm/target
|
|
|
|
|
|
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('./awsm/Cargo.lock') }}
|
|
|
|
- name: Compile sledge
|
|
|
|
- name: Compile sledge
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
make build
|
|
|
|
make build
|
|
|
@ -103,12 +102,9 @@ jobs:
|
|
|
|
make build-validate
|
|
|
|
make build-validate
|
|
|
|
- name: Cache gocr
|
|
|
|
- name: Cache gocr
|
|
|
|
uses: actions/cache@v2
|
|
|
|
uses: actions/cache@v2
|
|
|
|
env:
|
|
|
|
|
|
|
|
cache-name: gocr
|
|
|
|
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
# Cache the gocr webassembly module based on the submodule file
|
|
|
|
|
|
|
|
path: ./runtime/bin/gocr_wasm.so
|
|
|
|
path: ./runtime/bin/gocr_wasm.so
|
|
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./runtime/tests/gocr') }}
|
|
|
|
key: ${{ runner.os }}-gocr-${{ hashFiles('./runtime/tests/gocr') }}
|
|
|
|
- name: Compile sample apps and run tests
|
|
|
|
- name: Hyde
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
./test.sh
|
|
|
|
./test.sh hyde
|
|
|
|