ci(config): install ffmpeg
This commit is contained in:
parent
a9ab2e3984
commit
cabb2b9c94
|
@ -8,7 +8,7 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- run: apt-get -y update
|
- run: apt-get -y update
|
||||||
- run: apt-get -y install libusb-1.0-0-dev graphicsmagick libudev-dev
|
- run: apt-get -y install libusb-1.0-0-dev graphicsmagick libudev-dev
|
||||||
- run: apt-get -y install libxtst6 libxss1 libgtk2.0-0 libnss3 libasound2 libgconf-2-4
|
- run: apt-get -y install libxtst6 libxss1 libgtk2.0-0 libnss3 libasound2 libgconf-2-4 ffmpeg frei0r-plugins
|
||||||
# TODO: Just a quick try
|
# TODO: Just a quick try
|
||||||
- run: rm yarn.lock
|
- run: rm yarn.lock
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
|
@ -23,8 +23,8 @@ jobs:
|
||||||
- run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232
|
- run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232
|
||||||
- run: xvfb-run --listen-tcp --server-num 44 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1920x1080x24" yarn e2e:run & export DISPLAY=:44 && ffmpeg -f x11grab -video_size 1920x1080 -i :44 -codec:v libx264 -r 12 e2e-record.mp4
|
- run: xvfb-run --listen-tcp --server-num 44 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1920x1080x24" yarn e2e:run & export DISPLAY=:44 && ffmpeg -f x11grab -video_size 1920x1080 -i :44 -codec:v libx264 -r 12 e2e-record.mp4
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ./e2e-record.mp4
|
path: ./e2e-record.mp4
|
||||||
destination: e2e-record.mp4
|
destination: e2e-record.mp4
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
test:
|
test:
|
||||||
|
|
Loading…
Reference in New Issue