Commit 5395fed5 authored by Mabu's avatar Mabu
Browse files

examples are png now

parent 7ec7a79a
Pipeline #88075 failed with stages
in 54 seconds
before_script:
- apt update && apt -y install make markdown
image: gcc
build: build:
stage: build stage: build
image: gcc
script: script:
- autoreconf --install - autoreconf --install
- ./configure - ./configure
...@@ -15,6 +11,9 @@ build: ...@@ -15,6 +11,9 @@ build:
pages: pages:
stage: deploy stage: deploy
image: alpine:latest
before_script:
- apt update && apt -y install markdown imagemagick
script: script:
- cd deploy - cd deploy
- ./build.sh - ./build.sh
......
...@@ -11,6 +11,8 @@ do ...@@ -11,6 +11,8 @@ do
echo "creating image $i" echo "creating image $i"
s=$RANDOM s=$RANDOM
../src/flame -w 512 -h 512 -s $s -N 100000000 $DIR/$s.bmp ../src/flame -w 512 -h 512 -s $s -N 100000000 $DIR/$s.bmp
convert $DIR/$s.bmp $DIR/$s.png
rm $DIR/$s.bmp
done done
echo "images generated" echo "images generated"
...@@ -22,6 +24,6 @@ fi ...@@ -22,6 +24,6 @@ fi
echo "generating $LIST" echo "generating $LIST"
cd $DIR cd $DIR
for i in *bmp for i in *png
do echo \!\[seed: ${i%.bmp}\]\(images/$i \"seed: ${i%.bmp}\"\) >> $LIST do echo \!\[seed: ${i%.png}\]\(images/$i \"seed: ${i%.png}\"\) >> $LIST
done done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment