File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ case $DIST in
1212 ;;
1313 * )
1414 GPGTMP=$( mktemp -d /tmp/.gnupgXXXXXX)
15- gpg --homedir $GPGTMP --keyserver hkp://keyserver.ubuntu.com --recv-key e43b5a8e78cc2927
16- gpg --homedir $GPGTMP --export ' LinuxCNC Archive Signing Key' | sudo tee /etc/apt/keyrings/linuxcnc.gpg > /dev/null
15+ gpg --homedir " $GPGTMP " --keyserver hkp://keyserver.ubuntu.com --recv-key e43b5a8e78cc2927
16+ gpg --homedir " $GPGTMP " --export ' LinuxCNC Archive Signing Key' | sudo tee /etc/apt/keyrings/linuxcnc.gpg > /dev/null
1717 ;;
1818esac
1919sudo apt-get --quiet update
Original file line number Diff line number Diff line change 77
88cd src
99./autogen.sh
10- ./configure $@ --disable-check-runtime-deps --enable-werror
10+ ./configure " $@ " --disable-check-runtime-deps --enable-werror
1111make -O -j$(( 1 + $(nproc)) ) default pycheck V=1
Original file line number Diff line number Diff line change 55
66DIST=$1
77
8- # To install the RTAI deb's from linuxcnc base
9- # .github/scripts/add-linuxcnc-repository.sh $DIST
10- # sudo apt-get --yes install linux-headers-5.4.279-rtai-amd64 linux-image-5.4.279-rtai-amd64 rtai-modules-5.4.279
11- # -----
12- # To install the RTAI deb's from NTULINUX git
13- TMPDIR=$( mktemp -d)
14- (
15- cd $TMPDIR
16- curl --no-progress-meter -fLO https://github.com/NTULINUX/RTAI/releases/download/v5.3.4/linux-headers-5.4.302-rtai-amd64_5.4.302-rtai-amd64-1_amd64.deb
17- curl --no-progress-meter -fLO https://github.com/NTULINUX/RTAI/releases/download/v5.3.4/linux-image-5.4.302-rtai-amd64_5.4.302-rtai-amd64-1_amd64.deb
18- curl --no-progress-meter -fLO https://github.com/NTULINUX/RTAI/releases/download/v5.3.4/rtai-modules-5.4.302_5.3.4-linuxcnc_amd64.deb
19- )
20- sudo dpkg -i \
21- $TMPDIR /linux-headers-5.4.302-rtai-amd64_5.4.302-rtai-amd64-1_amd64.deb \
22- $TMPDIR /linux-image-5.4.302-rtai-amd64_5.4.302-rtai-amd64-1_amd64.deb \
23- $TMPDIR /rtai-modules-5.4.302_5.3.4-linuxcnc_amd64.deb
24- rm -rf $TMPDIR
25- # -----
8+ if false ; then
9+ # To install the RTAI deb's from linuxcnc base
10+ .github/scripts/add-linuxcnc-repository.sh " $DIST "
11+ sudo apt-get --yes install linux-headers-5.4.279-rtai-amd64 linux-image-5.4.279-rtai-amd64 rtai-modules-5.4.279
12+ else
13+ # To install the RTAI deb's from NTULINUX git
14+ TMPDIR=$( mktemp -d)
15+ (
16+ cd " $TMPDIR "
17+ curl --no-progress-meter -fLO https://github.com/NTULINUX/RTAI/releases/download/v5.3.4/linux-headers-5.4.302-rtai-amd64_5.4.302-rtai-amd64-1_amd64.deb
18+ curl --no-progress-meter -fLO https://github.com/NTULINUX/RTAI/releases/download/v5.3.4/linux-image-5.4.302-rtai-amd64_5.4.302-rtai-amd64-1_amd64.deb
19+ curl --no-progress-meter -fLO https://github.com/NTULINUX/RTAI/releases/download/v5.3.4/rtai-modules-5.4.302_5.3.4-linuxcnc_amd64.deb
20+ )
21+ sudo dpkg -i \
22+ " $TMPDIR /linux-headers-5.4.302-rtai-amd64_5.4.302-rtai-amd64-1_amd64.deb" \
23+ " $TMPDIR /linux-image-5.4.302-rtai-amd64_5.4.302-rtai-amd64-1_amd64.deb" \
24+ " $TMPDIR /rtai-modules-5.4.302_5.3.4-linuxcnc_amd64.deb"
25+ rm -rf " $TMPDIR "
26+ fi
Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ set -eu #Needed so CI fails when anything is wrong
44
55if [ $# -gt 0 ]; then
66 # Arguments are pathspecs for git status, used to exclude files for this test
7- if [ -n " $( git status -u --porcelain -- $@ ) " ]; then
7+ if [ -n " $( git status -u --porcelain -- " $@ " ) " ]; then
88 echo " Build produced untracked or modified files:----------------------------------------"
9- git status -u --porcelain -- $@
9+ git status -u --porcelain -- " $@ "
1010 echo " -----------------------------------------------------------------------------------"
11- echo " Pathspec is: \" $@ \" , withouth pathspec:--------------------------------------------"
11+ echo " Pathspec is: \" $* \" , withouth pathspec:--------------------------------------------"
1212 git status -u --porcelain
1313 echo " -----------------------------------------------------------------------------------"
1414 exit 1
1515 else
1616 echo Repo is clean
17- echo " Pathspec is: \" $@ \" , withouth pathspec:--------------------------------------------"
17+ echo " Pathspec is: \" $* \" , withouth pathspec:--------------------------------------------"
1818 git status -u --porcelain
1919 echo " -----------------------------------------------------------------------------------"
2020 exit 0
Original file line number Diff line number Diff line change @@ -158,9 +158,9 @@ jobs:
158158 set -x
159159 .github/scripts/build-doc.sh
160160 - name : Verify no untracked or modified files after build
161- continue-on-error : true # ToDo: Check what to do with the changed .po files
162161 run : |
163- .github/scripts/verify-clean-repo.sh
162+ #*.po and documentation.pot are modifyed by build. Ignore them for now.
163+ .github/scripts/verify-clean-repo.sh ':(exclude)docs/po/*.po' ':(exclude)docs/po/documentation.pot'
164164
165165 package-arch :
166166 runs-on : ${{ matrix.runner }}
@@ -281,9 +281,9 @@ jobs:
281281 git config --global --add safe.directory ${PWD}
282282 .github/scripts/build-package-indep.sh
283283 - name : Verify no untracked or modified files after build
284- continue-on-error : true # ToDo: Check what to do with the changed .po files
285284 run : |
286- .github/scripts/verify-clean-repo.sh ':(exclude)VERSION' ':(exclude)debian/changelog'
285+ #*.po and documentation.pot are modifyed by build. Ignore them for now.
286+ .github/scripts/verify-clean-repo.sh ':(exclude)VERSION' ':(exclude)debian/changelog' ':(exclude)docs/po/*.po' ':(exclude)docs/po/documentation.pot'
287287 - name : Install debian packages
288288 run : |
289289 set -x
You can’t perform that action at this time.
0 commit comments