fix
This commit is contained in:
+10
-9
@@ -1,11 +1,8 @@
|
|||||||
defaults: &defaults
|
|
||||||
working_directory: /tmp/danio-gcc
|
|
||||||
machine: true
|
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build64:
|
build64:
|
||||||
<<: *defaults
|
working_directory: /tmp/danio-gcc/64
|
||||||
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: |
|
- run: |
|
||||||
@@ -17,11 +14,12 @@ jobs:
|
|||||||
sudo rm -rf binutils-* build-* ${gcc_version} gcc-* newlib-*
|
sudo rm -rf binutils-* build-* ${gcc_version} gcc-* newlib-*
|
||||||
no_output_timeout: 2h
|
no_output_timeout: 2h
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: /tmp/danio-gcc
|
root: /tmp/danio-gcc/64
|
||||||
paths:
|
paths:
|
||||||
- out
|
- out
|
||||||
build32:
|
build32:
|
||||||
<<: *defaults
|
working_directory: /tmp/danio-gcc/32
|
||||||
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: |
|
- run: |
|
||||||
@@ -32,16 +30,19 @@ jobs:
|
|||||||
sudo rm -rf binutils-* build-* ${gcc_version} gcc-* newlib-*
|
sudo rm -rf binutils-* build-* ${gcc_version} gcc-* newlib-*
|
||||||
no_output_timeout: 2h
|
no_output_timeout: 2h
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: /tmp/danio-gcc
|
root: /tmp/danio-gcc/32
|
||||||
paths:
|
paths:
|
||||||
- out
|
- out
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
<<: *defaults
|
working_directory: /tmp/danio-gcc
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/danio-gcc
|
at: /tmp/danio-gcc
|
||||||
- run: |
|
- run: |
|
||||||
|
mkdir -pv out
|
||||||
|
find . -name "*.txz" -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
|
no_output_timeout: 2h
|
||||||
|
|||||||
Reference in New Issue
Block a user