Skip to content

Mzk 41 layout7 cpu

Mzk 41 layout7 cpu #29

Workflow file for this run

name: Aptos Test
on:
push:
branches: [ main ]
pull_request:
concurrency:
# cancel redundant builds on PRs (only on PR, not on branches)
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
aptos_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup_aptos_cli
with:
version: 4.0.0
- name: test_contract
run: |
aptos move test --skip-fetch-latest-git-deps --skip-attribute-checks --package-dir libs &
LIBS_PID=$!
aptos move test --skip-fetch-latest-git-deps --skip-attribute-checks --package-dir verifier &
VERIFIER_PID=$!
aptos move test --skip-fetch-latest-git-deps --skip-attribute-checks --package-dir cpu &
CPU_PID=$!
wait $LIBS_PID
LIBS_EXIT_CODE=$?
wait $VERIFIER_PID
VERIFIER_EXIT_CODE=$?
wait $CPU_PID
CPU_EXIT_CODE=$?
if [ $LIBS_EXIT_CODE -ne 0 ] || [ $VERIFIER_EXIT_CODE -ne 0 ] || [ $CPU_EXIT_CODE -ne 0 ]; then
exit 1
fi