-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This duplicates mingw-check into two jobs where one job runs `tidy` only while the other job does not. The tidy job will not cancel other jobs on failure.
- Loading branch information
Showing
4 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
FROM ubuntu:18.04 | ||
# FIXME: when bumping the version, remove the Python 3.6-specific changes in | ||
# the reuse-requirements.in file, regenerate reuse-requirements.txt and remove | ||
# this comment. | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
g++ \ | ||
make \ | ||
ninja-build \ | ||
file \ | ||
curl \ | ||
ca-certificates \ | ||
python3 \ | ||
python3-pip \ | ||
python3-pkg-resources \ | ||
git \ | ||
cmake \ | ||
sudo \ | ||
gdb \ | ||
xz-utils \ | ||
libssl-dev \ | ||
pkg-config \ | ||
mingw-w64 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY scripts/sccache.sh /scripts/ | ||
RUN sh /scripts/sccache.sh | ||
|
||
COPY host-x86_64/mingw-check/reuse-requirements.txt /tmp/ | ||
RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-requirements.txt | ||
|
||
COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/ | ||
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/ | ||
|
||
ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1 | ||
ENV SCRIPT python3 ../x.py test --stage 0 src/tools/tidy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters