steps: - name: 'gcr.io/cloud-builders/docker' id: 'prepare cargo' args: ['build', '--tag=gcr.io/$PROJECT_ID/cargo', './scripts/google-cloud-build/'] - name: 'gcr.io/$PROJECT_ID/cargo' id: 'build lib' args: ['build', '--debug'] - name: 'gcr.io/$PROJECT_ID/cargo' id: 'run test' args: ['test', '--debug', '--no-default-features'] timeout: 2000s artifacts: objects: location: 'gs://artifacts.rongyi-srv-gce.appspot.com/UX9Q/HPGO/${_NOW}_${BUILD_ID}/' paths: ['target/release/libHPGO.so', 'target/wheels/*.whl']