4
4
push :
5
5
branches :
6
6
- master
7
- - reproducible
8
7
pull_request :
9
8
branches :
10
9
- master
@@ -40,11 +39,11 @@ jobs:
40
39
cd ../buildA
41
40
SOURCE_DIR=$(dirname $(find . -maxdepth 2 -name x.py))
42
41
$SOURCE_DIR/configure --set rust.channel=nightly
43
- $SOURCE_DIR/x.py build --stage 1 -j$(($(nproc)*2/3))
42
+ $SOURCE_DIR/x.py build --stage 2 -j$(($(nproc)*2/3))
44
43
rm -rf $SOURCE_DIR
45
- STAGE1_DIR=`find build -name stage1 `
44
+ STAGE1_DIR=`find build -name stage2 `
46
45
cp -r "$STAGE1_DIR" .
47
- echo "Contents stage 1 dir : `ls stage1 `"
46
+ echo "Contents stage 2 dir : `ls stage2 `"
48
47
rm -rf build
49
48
50
49
- name : Build and store binaries from source 2
@@ -53,13 +52,12 @@ jobs:
53
52
echo "Repo storage available: `df -h .`"
54
53
SOURCE_DIR=$(dirname $(find . -maxdepth 2 -name x.py))
55
54
$SOURCE_DIR/configure --set rust.channel=nightly
56
- $SOURCE_DIR/x.py build --stage 1 -j$(($(nproc)*2/3))
55
+ $SOURCE_DIR/x.py build --stage 2 -j$(($(nproc)*2/3))
57
56
rm -rf $SOURCE_DIR
58
- STAGE1_DIR=`find build -name stage1 `
57
+ STAGE1_DIR=`find build -name stage2 `
59
58
cp -r "$STAGE1_DIR" .
60
- echo "Contents stage 1 dir : `ls stage1 `"
59
+ echo "Contents stage 2 dir : `ls stage2 `"
61
60
rm -rf build
62
- cd ..
63
61
64
62
- name : Install diffoscope
65
63
run : |
78
76
fi
79
77
80
78
# Perform a diff between the two builds
81
- diffoscope buildA/stage1 buildA_extended/stage1 > diffoscope_output.txt || echo "Differences found!"
79
+ diffoscope buildA/stage2 buildA_extended/stage2 > diffoscope_output.txt || echo "Differences found!"
82
80
83
81
- name : Upload diffoscope output
84
82
uses : actions/upload-artifact@v4
0 commit comments