Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 306afbc

Browse files
authored
Some fixes to make CI work. (#74)
1 parent e3dc814 commit 306afbc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
docker exec -w /workspace/quic/src/owt $container_id git checkout FETCH_HEAD
2323
docker exec -w /workspace/quic/src/owt $container_id git rev-parse HEAD >> git_sha.out
2424
git_sha="$(cat git_sha.out)"
25-
echo "::set-output name=git_sha::$git_sha"
25+
echo "git_sha=$git_sha" >> $GITHUB_OUTPUT
26+
# The line below can be removed once docker image is updated.
27+
docker exec $container_id apt-get update
28+
docker exec $container_id apt-get install -y ninja-build
2629
docker exec $container_id python3 owt/test/scripts/build.py
2730
docker cp $container_id:/workspace/quic/packages/$git_sha.zip .
2831
docker stop $container_id

web_transport/docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
FROM ubuntu:20.04
1010
SHELL ["/bin/bash", "-c"]
1111
ENV DEBIAN_FRONTEND=noninteractive
12-
RUN apt-get update && apt-get install -y git curl wget python lsb-release tzdata
12+
ENV TAR_OPTIONS="--no-same-owner"
13+
RUN apt-get update && apt-get install -y git curl wget python lsb-release tzdata ninja-build
1314
RUN mkdir workspace
1415
WORKDIR /workspace
1516
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

0 commit comments

Comments
 (0)