We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e53b5a commit 3af5b83Copy full SHA for 3af5b83
1 file changed
.github/workflows/avis-master-chain.yml
@@ -27,12 +27,19 @@ jobs:
27
28
- name: FORGE: Compile All ASM
29
run: |
30
- find . -maxdepth 2 -name "*.asm" -exec sh -c '
31
- echo "FORGE: Compiling $1"
32
- nasm -f elf64 "$1" -o "${1%.asm}.o"
33
- ld "${1%.asm}.o" -o "${1%.asm}"
34
- chmod +x "${1%.asm}"
35
- ' _ {} \;
+ find . -maxdepth 2 -name "*.asm" | while read -r f; do
+ # Use .bin suffix to avoid directory name collisions
+ OUT_NAME="${f%.asm}.bin"
+ echo "FORGE: Compiling $f -> $OUT_NAME"
+
+ nasm -f elf64 "$f" -o "${f%.asm}.o"
36
+ ld "${f%.asm}.o" -o "$OUT_NAME"
37
+ chmod +x "$OUT_NAME"
38
39
+ # Optional: Clean up the object file immediately
40
+ rm "${f%.asm}.o"
41
+ done
42
43
44
- name: EXECUTE: Generate V2 Sitemap
45
0 commit comments