Run command with virtual X server
This commit is contained in:
parent
69a5a04baa
commit
b83a2d97f3
2 changed files with 7 additions and 2 deletions
|
@ -23,8 +23,8 @@ jobs:
|
||||||
- ~/.cargo
|
- ~/.cargo
|
||||||
- run: make test
|
- run: make test
|
||||||
- run:
|
- run:
|
||||||
command: cargo run -- build
|
command: ./.circleci/xserver.sh cargo run -- build
|
||||||
working_directory: ~/md-pdf/test-files
|
working_directory: ~/md-pdf/test-files
|
||||||
- run:
|
- run:
|
||||||
command: cargo run --release -- build
|
command: ./.circleci/xserver.sh cargo run --release -- build
|
||||||
working_directory: ~/md-pdf/test-files
|
working_directory: ~/md-pdf/test-files
|
||||||
|
|
5
.circleci/xserver.sh
Normal file
5
.circleci/xserver.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
xvfb-run -a --server-args="-screen 0 800x600x24" $@
|
Reference in a new issue