Skip to content

Commit

Permalink
ci: Change master job to use bazelw (#237)
Browse files Browse the repository at this point in the history
I couldn't do this in the same PR since it checks out master and the
wrapper wasn't there yet.

Signed-off-by: Keith Smiley <keithbsmiley@gmail.com>
Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
keith authored and jpsim committed Nov 29, 2022
1 parent 1439e5f commit 95e7389
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ stages:
- script: git checkout master && git pull origin master
- script: ./ci/linux_ci_setup.sh
displayName: 'Install dependencies'
- script: bazel build //test/performance:test_binary_size --config=sizeopt
- script: ./bazelw build //test/performance:test_binary_size --config=sizeopt
displayName: 'Build test binary'
- task: PublishPipelineArtifact@0
displayName: 'Publish master test binary'
Expand Down
3 changes: 3 additions & 0 deletions mobile/ci/linux_ci_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
set -e

# Set up basic requirements and install them.
# workaround https://askubuntu.com/questions/41605/trouble-downloading-packages-list-due-to-a-hash-sum-mismatch-error
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get clean
sudo apt-get update
export DEBIAN_FRONTEND=noninteractive
sudo apt-get install -y wget software-properties-common make cmake git \
Expand Down

0 comments on commit 95e7389

Please sign in to comment.