ci: add -c opt to CI builds

This commit is contained in:
41666 2020-10-11 13:16:43 -04:00
parent 9e6a942018
commit cb5ff9602a
2 changed files with 3 additions and 0 deletions

View file

@ -25,6 +25,7 @@ jobs:
- name: Test
run: |
"${GITHUB_WORKSPACE}/bin/bazel" test \
-c opt \
--stamp \
--workspace_status_command hack/workspace_status.sh \
//src/... //hack/...

View file

@ -31,12 +31,14 @@ jobs:
run: |
echo ${{github.token}} | docker login -u ${{github.actor}} --password-stdin docker.pkg.github.com
"${GITHUB_WORKSPACE}/bin/bazel" run \
-c opt \
--stamp \
--workspace_status_command hack/workspace_status.sh \
//src/dev-container:publish-dev-container
echo ${{secrets.DOCKER_PASSWORD}} | docker login -u ${{secrets.DOCKER_USERNAME}} --password-stdin
"${GITHUB_WORKSPACE}/bin/bazel" run \
-c opt \
--stamp \
--workspace_status_command hack/workspace_status.sh \
//src/dev-container:publish-dev-container-dockerhub