ci: install ubuntu deps in covector

This commit is contained in:
amrbashir 2022-12-06 03:02:55 +02:00
parent 0309d101b1
commit cf8d88613f
No known key found for this signature in database
GPG key ID: BBD7A47A2003FF33

View file

@ -1,48 +1,52 @@
{ {
"gitSiteUrl": "https://www.github.com/tauri-apps/muda/", "gitSiteUrl": "https://www.github.com/tauri-apps/muda/",
"timeout": 3600000, "timeout": 3600000,
"pkgManagers": { "pkgManagers": {
"rust": { "rust": {
"version": true, "version": true,
"getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -", "getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
"publish": [ "prepublish": [
{ "sudo apt-get update",
"command": "cargo package --no-verify", "sudo apt-get install -y libgtk-3-dev libxdo-dev"
"dryRunCommand": true ],
}, "publish": [
{ {
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'", "command": "cargo package --no-verify",
"dryRunCommand": true, "dryRunCommand": true
"pipe": true },
}, {
{ "command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
"command": "cargo publish", "dryRunCommand": true,
"dryRunCommand": "cargo publish --dry-run", "pipe": true
"pipe": true },
}, {
{ "command": "cargo publish",
"command": "echo '```\n\n</details>\n'", "dryRunCommand": "cargo publish --dry-run",
"dryRunCommand": true, "pipe": true
"pipe": true },
} {
], "command": "echo '```\n\n</details>\n'",
"postpublish": [ "dryRunCommand": true,
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f", "pipe": true
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f", }
"git push --tags -f" ],
] "postpublish": [
} "git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f",
}, "git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f",
"packages": { "git push --tags -f"
"muda": { ]
"path": ".",
"manager": "rust",
"assets": [
{
"path": "${ pkg.path }/target/package/create-tauri-app-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
}
} }
},
"packages": {
"muda": {
"path": ".",
"manager": "rust",
"assets": [
{
"path": "${ pkg.path }/target/package/muda-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
}
}
} }