Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Some fixes to make CI work.
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjunz committed May 26, 2023
1 parent e3dc814 commit 48d2f99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
docker exec -w /workspace/quic/src/owt $container_id git checkout FETCH_HEAD
docker exec -w /workspace/quic/src/owt $container_id git rev-parse HEAD >> git_sha.out
git_sha="$(cat git_sha.out)"
echo "::set-output name=git_sha::$git_sha"
echo "git_sha=$git_sha" >> $GITHUB_OUTPUT
# The line below can be removed once docker image is updated.
docker exec $container_id apt-get update
docker exec $container_id apt-get install -y ninja-build
docker exec $container_id python3 owt/test/scripts/build.py
docker cp $container_id:/workspace/quic/packages/$git_sha.zip .
docker stop $container_id
Expand Down
3 changes: 2 additions & 1 deletion web_transport/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
FROM ubuntu:20.04
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y git curl wget python lsb-release tzdata
ENV TAR_OPTIONS="--no-same-owner"
RUN apt-get update && apt-get install -y git curl wget python lsb-release tzdata ninja-build
RUN mkdir workspace
WORKDIR /workspace
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Expand Down

0 comments on commit 48d2f99

Please sign in to comment.