Skip to content

Commit

Permalink
Modify compile code
Browse files Browse the repository at this point in the history
  • Loading branch information
KandelN authored Feb 10, 2025
1 parent 37f01d6 commit e2750c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
run: find . -type f -name "*.c" ! -path "*/screenshots/*"

- name: Find and Compile C Code
run: |
find . -type f -name "*.c" ! -path "*/screenshots/*" -exec sh -c 'gcc -o "${1%.c}.out" "$1" -lm' sh {} \;
run: find . -type f -name "*.c" ! -path "*/screenshots/*" -exec gcc -o {}.out {} -lm \;

- name: List Compiled Files
run: find . -type f -name "*.out"g
run: find . -type f -name "*.out"

0 comments on commit e2750c1

Please sign in to comment.