Skip to content

Commit 4d648db

Browse files
committed
ci: fix YAML structure so workflows parse and jobs instantiate
1 parent 2d0c725 commit 4d648db

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/reproducibility.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
rm -rf artifacts || true
3030
mkdir -p artifacts/run1 artifacts/run2
3131
python - <<PY
32-
from src.shieldcraft.main import run_self_host
33-
run_self_host('examples/selfhost/bootstrap_spec.json', 'src/shieldcraft/dsl/schema/se_dsl.schema.json')
34-
import shutil, os
35-
shutil.copytree('.selfhost_outputs', 'artifacts/run1/selfhost', dirs_exist_ok=True)
36-
run_self_host('examples/selfhost/bootstrap_spec.json', 'src/shieldcraft/dsl/schema/se_dsl.schema.json')
37-
shutil.copytree('.selfhost_outputs', 'artifacts/run2/selfhost', dirs_exist_ok=True)
38-
PY
32+
from src.shieldcraft.main import run_self_host
33+
run_self_host('examples/selfhost/bootstrap_spec.json', 'src/shieldcraft/dsl/schema/se_dsl.schema.json')
34+
import shutil, os
35+
shutil.copytree('.selfhost_outputs', 'artifacts/run1/selfhost', dirs_exist_ok=True)
36+
run_self_host('examples/selfhost/bootstrap_spec.json', 'src/shieldcraft/dsl/schema/se_dsl.schema.json')
37+
shutil.copytree('.selfhost_outputs', 'artifacts/run2/selfhost', dirs_exist_ok=True)
38+
PY
3939
4040
- name: Diff outputs
4141
run: |

.github/workflows/selfbuild.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Run self-build
2727
run: |
2828
python - <<PY
29-
from src.shieldcraft.engine import Engine
30-
e = Engine('src/shieldcraft/dsl/schema/se_dsl.schema.json')
31-
e.run_self_build('spec/se_dsl_v1.spec.json', dry_run=False)
32-
print('Self-build completed')
33-
PY
29+
from src.shieldcraft.engine import Engine
30+
e = Engine('src/shieldcraft/dsl/schema/se_dsl.schema.json')
31+
e.run_self_build('spec/se_dsl_v1.spec.json', dry_run=False)
32+
print('Self-build completed')
33+
PY

0 commit comments

Comments
 (0)