Skip to content

Commit 238555f

Browse files
committed
Use stage 2 builds for comparision
1 parent a2a3335 commit 238555f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/repro_check.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
cd ../buildA
4141
SOURCE_DIR=$(dirname $(find . -maxdepth 2 -name x.py))
4242
$SOURCE_DIR/configure --set rust.channel=nightly
43-
$SOURCE_DIR/x.py build --stage 1 -j$(($(nproc)*2/3))
43+
$SOURCE_DIR/x.py build --stage 2 -j$(($(nproc)*2/3))
4444
rm -rf $SOURCE_DIR
45-
STAGE1_DIR=`find build -name stage1`
45+
STAGE1_DIR=`find build -name stage2`
4646
cp -r "$STAGE1_DIR" .
47-
echo "Contents stage 1 dir : `ls stage1`"
47+
echo "Contents stage 1 dir : `ls stage2`"
4848
rm -rf build
4949
5050
- name: Build and store binaries from source 2
@@ -53,11 +53,11 @@ jobs:
5353
echo "Repo storage available: `df -h .`"
5454
SOURCE_DIR=$(dirname $(find . -maxdepth 2 -name x.py))
5555
$SOURCE_DIR/configure --set rust.channel=nightly
56-
$SOURCE_DIR/x.py build --stage 1 -j$(($(nproc)*2/3))
56+
$SOURCE_DIR/x.py build --stage 2 -j$(($(nproc)*2/3))
5757
rm -rf $SOURCE_DIR
58-
STAGE1_DIR=`find build -name stage1`
58+
STAGE1_DIR=`find build -name stage2`
5959
cp -r "$STAGE1_DIR" .
60-
echo "Contents stage 1 dir : `ls stage1`"
60+
echo "Contents stage 1 dir : `ls stage2`"
6161
rm -rf build
6262
cd ..
6363
@@ -78,7 +78,7 @@ jobs:
7878
fi
7979
8080
# Perform a diff between the two builds
81-
diffoscope buildA/stage1 buildA_extended/stage1 > diffoscope_output.txt || echo "Differences found!"
81+
diffoscope buildA/stage2 buildA_extended/stage2 > diffoscope_output.txt || echo "Differences found!"
8282
8383
- name: Upload diffoscope output
8484
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)