mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
ci: add -c opt to CI builds
This commit is contained in:
parent
9e6a942018
commit
cb5ff9602a
2 changed files with 3 additions and 0 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -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/...
|
||||
|
|
2
.github/workflows/dev-container.yml
vendored
2
.github/workflows/dev-container.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue