1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: C interop for HTML to PDF conversion using libwkhtmltox (#7751)

This commit is contained in:
Leandro Silva
2021-01-03 12:56:55 -03:00
committed by GitHub
parent 443bf44031
commit 86df5cd1a9
3 changed files with 103 additions and 0 deletions

View File

@ -8,6 +8,8 @@ import sync
import v.pref
import v.util.vtest
const github_job = os.getenv('GITHUB_JOB')
pub struct TestSession {
pub mut:
files []string
@ -113,6 +115,9 @@ pub fn new_test_session(_vargs string) TestSession {
$if windows {
skip_files << 'examples/x/websocket/ping.v' // requires OpenSSL
}
if github_job != 'ubuntu-tcc' {
skip_files << 'examples/wkhtmltopdf.v' // needs installation of wkhtmltopdf from https://github.com/wkhtmltopdf/packaging/releases
}
vargs := _vargs.replace('-progress', '').replace('-progress', '')
vexe := pref.vexe_path()
new_vtmp_dir := setup_new_vtmp_folder()