Skip to content

Commit c903cff

Browse files
committed
test diffoscope
1 parent 474ddc5 commit c903cff

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/repro_check.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ jobs:
3939
cd ../buildA
4040
SOURCE_DIR=$(dirname $(find . -maxdepth 2 -name x.py))
4141
$SOURCE_DIR/configure --set rust.channel=nightly
42-
$SOURCE_DIR/x.py build --stage 2 -j$(($(nproc)*2/3))
4342
rm -rf $SOURCE_DIR
44-
STAGE1_DIR=`find build -name stage2`
45-
cp -r "$STAGE1_DIR" .
43+
mkdir stage2
44+
echo "build1" > stage2/build.txt
4645
echo "Contents stage 2 dir : `ls stage2`"
4746
rm -rf build
4847
@@ -52,10 +51,9 @@ jobs:
5251
echo "Repo storage available: `df -h .`"
5352
SOURCE_DIR=$(dirname $(find . -maxdepth 2 -name x.py))
5453
$SOURCE_DIR/configure --set rust.channel=nightly
55-
$SOURCE_DIR/x.py build --stage 2 -j$(($(nproc)*2/3))
5654
rm -rf $SOURCE_DIR
57-
STAGE1_DIR=`find build -name stage2`
58-
cp -r "$STAGE1_DIR" .
55+
mkdir stage2
56+
echo "build2" > stage2/build.txt
5957
echo "Contents stage 2 dir : `ls stage2`"
6058
rm -rf build
6159
@@ -64,7 +62,7 @@ jobs:
6462
sudo apt-get update
6563
sudo apt-get install -y diffoscope
6664
67-
- name: Compare builds using git diff
65+
- name: Compare builds
6866
run: |
6967
# Go back to the root directory
7068
cd ..

0 commit comments

Comments
 (0)