fix
This commit is contained in:
+4
-16
@@ -5,14 +5,8 @@ jobs:
|
|||||||
machine: true
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: |
|
- run: sudo ./runit-all.sh 64
|
||||||
|
no_output_timeout: 2h
|
||||||
export CC="cc -m64"
|
|
||||||
export CXX="c++ -m64"
|
|
||||||
chmod +x -v *.sh
|
|
||||||
sudo ./runit-all.sh
|
|
||||||
sudo rm -rf binutils-* build-* ${gcc_version} gcc-* newlib-*
|
|
||||||
no_output_timeout: 2h
|
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: /tmp/danio-gcc/64
|
root: /tmp/danio-gcc/64
|
||||||
paths:
|
paths:
|
||||||
@@ -22,13 +16,8 @@ jobs:
|
|||||||
machine: true
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: |
|
- run: sudo ./runit-all.sh 32
|
||||||
export CC="cc -m32"
|
no_output_timeout: 2h
|
||||||
export CXX="c++ -m32"
|
|
||||||
chmod +x -v *.sh
|
|
||||||
sudo ./runit-all.sh
|
|
||||||
sudo rm -rf binutils-* build-* ${gcc_version} gcc-* newlib-*
|
|
||||||
no_output_timeout: 2h
|
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: /tmp/danio-gcc/32
|
root: /tmp/danio-gcc/32
|
||||||
paths:
|
paths:
|
||||||
@@ -46,7 +35,6 @@ jobs:
|
|||||||
find . -name "*.log" -exec mv -fv {} out \;
|
find . -name "*.log" -exec mv -fv {} out \;
|
||||||
(cd out; ls | (echo '<html><body>'; sed 's/^.*/<a href="&">&<\/a><br\/>/'; echo '</body></html>') >index.html)
|
(cd out; ls | (echo '<html><body>'; sed 's/^.*/<a href="&">&<\/a><br\/>/'; echo '</body></html>') >index.html)
|
||||||
surge --project ./out --domain danio-gcc.surge.sh
|
surge --project ./out --domain danio-gcc.surge.sh
|
||||||
no_output_timeout: 2h
|
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -11,6 +11,18 @@ for i in aarch64-${TUPLE}-linux alpha-${TUPLE}-linux arm-${TUPLE}-eabi arc-${TUP
|
|||||||
. ./.error
|
. ./.error
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
|
case ${1} in
|
||||||
|
64)
|
||||||
|
export CC="cc -m64"
|
||||||
|
export CXX="c++ -m64"
|
||||||
|
chmod +x -v *.sh
|
||||||
|
sudo rm -rf binutils-* build-* ${gcc_version} gcc-* newlib-* ;;
|
||||||
|
32)
|
||||||
|
export CC="cc -m32"
|
||||||
|
export CXX="c++ -m32"
|
||||||
|
chmod +x -v *.sh
|
||||||
|
sudo rm -rf binutils-* build-* ${gcc_version} gcc-* newlib-*
|
||||||
|
esac
|
||||||
sudo ./danio_gcc.sh ${i} | tee out/${i}.log
|
sudo ./danio_gcc.sh ${i} | tee out/${i}.log
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user