mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-23 05:59:37 +00:00
Compare commits
1 Commits
v0.8.0
...
9d030cba0c
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d030cba0c |
14
.github/workflows/trigger-site-build.yml
vendored
14
.github/workflows/trigger-site-build.yml
vendored
@@ -1,14 +0,0 @@
|
|||||||
name: Trigger site rebuild
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
paths:
|
|
||||||
- 'docs/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
trigger:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Trigger Cloudflare Pages build
|
|
||||||
run: curl -sS -X POST "${{ secrets.CF_PAGES_DEPLOY_HOOK }}"
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
files:
|
|
||||||
- source: /docs/**/*.mdx
|
|
||||||
translation: /docs-crowdin-export/%locale%/%original_path%/%original_file_name%.%file_extension%
|
|
||||||
@@ -55,6 +55,10 @@ pub fn build(ctx: &BuildContext) -> Result<f64, String> {
|
|||||||
)?;
|
)?;
|
||||||
let objects = build_objects(compiler, &sources, &obj_dir, ctx, "o", qt_include_path)?;
|
let objects = build_objects(compiler, &sources, &obj_dir, ctx, "o", qt_include_path)?;
|
||||||
|
|
||||||
|
if ctx.kind == "none" || ctx.kind == "custom" {
|
||||||
|
return Ok(common::elapsed_secs(start_time));
|
||||||
|
}
|
||||||
|
|
||||||
if ctx.kind == "staticlib" {
|
if ctx.kind == "staticlib" {
|
||||||
return artifact::archive_static(ctx, &objects, start_time);
|
return artifact::archive_static(ctx, &objects, start_time);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,6 +41,10 @@ pub fn build(ctx: &BuildContext) -> Result<f64, String> {
|
|||||||
};
|
};
|
||||||
let objects = build_objects(compiler, &sources, &obj_dir, ctx, "obj")?;
|
let objects = build_objects(compiler, &sources, &obj_dir, ctx, "obj")?;
|
||||||
|
|
||||||
|
if ctx.kind == "none" || ctx.kind == "custom" {
|
||||||
|
return Ok(common::elapsed_secs(start_time));
|
||||||
|
}
|
||||||
|
|
||||||
if ctx.kind == "staticlib" {
|
if ctx.kind == "staticlib" {
|
||||||
let lib_path = platform::lib_path(ctx.profile, ctx.project_name, ctx.target_dir);
|
let lib_path = platform::lib_path(ctx.profile, ctx.project_name, ctx.target_dir);
|
||||||
if !common::needs_link(&objects, &lib_path) {
|
if !common::needs_link(&objects, &lib_path) {
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ where
|
|||||||
};
|
};
|
||||||
let objects = build_objects_common(assembler, &sources, &obj_dir, ctx, &build_object)?;
|
let objects = build_objects_common(assembler, &sources, &obj_dir, ctx, &build_object)?;
|
||||||
|
|
||||||
|
if ctx.kind == "none" || ctx.kind == "custom" {
|
||||||
|
return Ok(common::elapsed_secs(start_time));
|
||||||
|
}
|
||||||
|
|
||||||
if ctx.kind == "staticlib" {
|
if ctx.kind == "staticlib" {
|
||||||
return artifact::archive_static(ctx, &objects, start_time);
|
return artifact::archive_static(ctx, &objects, start_time);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user