rem
This commit is contained in:
@@ -1,48 +0,0 @@
|
|||||||
version: 2
|
|
||||||
jobs:
|
|
||||||
build64:
|
|
||||||
working_directory: /tmp/danio-gcc/64
|
|
||||||
machine: true
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: chmod +x -v *.sh
|
|
||||||
- run: sudo ln -svf /usr/include/x86_64-linux-gnu/zconf.h /usr/include/zconf.h
|
|
||||||
- run: sudo ./runit-all.sh 64
|
|
||||||
- persist_to_workspace:
|
|
||||||
root: /tmp/danio-gcc/64
|
|
||||||
paths:
|
|
||||||
- out
|
|
||||||
build32:
|
|
||||||
working_directory: /tmp/danio-gcc/32
|
|
||||||
machine: true
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: chmod +x -v *.sh
|
|
||||||
- run: sudo ln -svf /usr/include/x86_64-linux-gnu/zconf.h /usr/include/zconf.h
|
|
||||||
- run: sudo ./runit-all.sh 32
|
|
||||||
- persist_to_workspace:
|
|
||||||
root: /tmp/danio-gcc/32
|
|
||||||
paths:
|
|
||||||
- out
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
working_directory: /tmp/danio-gcc
|
|
||||||
machine: true
|
|
||||||
steps:
|
|
||||||
- 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)
|
|
||||||
surge --project ./out --domain gcc.danio.ga
|
|
||||||
|
|
||||||
workflows:
|
|
||||||
version: 2
|
|
||||||
runit:
|
|
||||||
jobs:
|
|
||||||
- build64
|
|
||||||
- build32
|
|
||||||
- deploy:
|
|
||||||
requires:
|
|
||||||
- build64
|
|
||||||
- build32
|
|
||||||
Reference in New Issue
Block a user