@@ -40,11 +40,11 @@ jobs:
40
40
cd ../buildA
41
41
SOURCE_DIR=$(dirname $(find . -maxdepth 2 -name x.py))
42
42
$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))
44
44
rm -rf $SOURCE_DIR
45
- STAGE1_DIR=`find build -name stage1 `
45
+ STAGE1_DIR=`find build -name stage2 `
46
46
cp -r "$STAGE1_DIR" .
47
- echo "Contents stage 1 dir : `ls stage1 `"
47
+ echo "Contents stage 1 dir : `ls stage2 `"
48
48
rm -rf build
49
49
50
50
- name : Build and store binaries from source 2
@@ -53,11 +53,11 @@ jobs:
53
53
echo "Repo storage available: `df -h .`"
54
54
SOURCE_DIR=$(dirname $(find . -maxdepth 2 -name x.py))
55
55
$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))
57
57
rm -rf $SOURCE_DIR
58
- STAGE1_DIR=`find build -name stage1 `
58
+ STAGE1_DIR=`find build -name stage2 `
59
59
cp -r "$STAGE1_DIR" .
60
- echo "Contents stage 1 dir : `ls stage1 `"
60
+ echo "Contents stage 1 dir : `ls stage2 `"
61
61
rm -rf build
62
62
cd ..
63
63
78
78
fi
79
79
80
80
# 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!"
82
82
83
83
- name : Upload diffoscope output
84
84
uses : actions/upload-artifact@v4
0 commit comments