Skip to content

Commit 9697831

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

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/reproducibility.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ 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)
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)
3838
PY
3939
4040
- name: Diff outputs

.github/workflows/selfbuild.yml

Lines changed: 4 additions & 4 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')
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')
3333
PY

0 commit comments

Comments
 (0)