debugging the runner
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s
This commit is contained in:
parent
f6a9ee1028
commit
33abcea539
@ -16,6 +16,8 @@ jobs:
|
|||||||
id: files
|
id: files
|
||||||
run: |
|
run: |
|
||||||
echo "=== Debug: Starting file detection ==="
|
echo "=== Debug: Starting file detection ==="
|
||||||
|
echo "Current dir: $(pwd)"
|
||||||
|
echo "Files in repo: $(ls -la)"
|
||||||
# Try to list changed .c or .bas files from last commit
|
# Try to list changed .c or .bas files from last commit
|
||||||
CHANGED_FILES=$(git diff --name-only HEAD~1 -- '*.c' '*.bas' 2>/dev/null | head -1)
|
CHANGED_FILES=$(git diff --name-only HEAD~1 -- '*.c' '*.bas' 2>/dev/null | head -1)
|
||||||
echo "Changed files from last commit: '${CHANGED_FILES}'"
|
echo "Changed files from last commit: '${CHANGED_FILES}'"
|
||||||
@ -23,7 +25,7 @@ jobs:
|
|||||||
# Fallback to all .c/.bas files if no previous commit or no changes
|
# Fallback to all .c/.bas files if no previous commit or no changes
|
||||||
if [ -z "$CHANGED_FILES" ]; then
|
if [ -z "$CHANGED_FILES" ]; then
|
||||||
echo "No previous commit or changes found; using all C/BAS files."
|
echo "No previous commit or changes found; using all C/BAS files."
|
||||||
CHANGED_FILES=$(git ls-files '*.c' '*.bas' | head -1)
|
CHANGED_FILES=$(find . -name "*.c" -o -name "*.bas" | head -1)
|
||||||
echo "Fallback files: '${CHANGED_FILES}'"
|
echo "Fallback files: '${CHANGED_FILES}'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -45,6 +47,9 @@ jobs:
|
|||||||
if: steps.files.outputs.file != ''
|
if: steps.files.outputs.file != ''
|
||||||
run: |
|
run: |
|
||||||
echo "=== Debug: Starting upload/submit ==="
|
echo "=== Debug: Starting upload/submit ==="
|
||||||
|
echo "File: ${{ steps.files.outputs.file }}"
|
||||||
|
echo "Member: ${{ steps.files.outputs.member }}"
|
||||||
|
cd /home/gmgauthier/Retro/mvs/src/
|
||||||
python3 mvs_job.py "${{ steps.files.outputs.file }}" "@05054.SRCLIB.C" "${{ steps.files.outputs.member }}" "COMPILE"
|
python3 mvs_job.py "${{ steps.files.outputs.file }}" "@05054.SRCLIB.C" "${{ steps.files.outputs.member }}" "COMPILE"
|
||||||
echo "=== Debug: Upload/submit complete ==="
|
echo "=== Debug: Upload/submit complete ==="
|
||||||
env:
|
env:
|
||||||
@ -52,4 +57,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Report Status
|
- name: Report Status
|
||||||
run: |
|
run: |
|
||||||
echo "Upload/Compile complete! Check TK5 JES for JOB ${{ steps.files.outputs.member }} output."
|
echo "Upload/Compile complete! Check TK5 JES for JOB ${{ steps.files.outputs.member }} output."
|
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
// Sieve of Eratosthenes
|
// Sieve of Eratosthenes
|
||||||
// Time Complexity: O(n log log n)
|
// Time Complexity: O(n log log n)
|
||||||
|
// Space Complexity: O(n)
|
||||||
|
// Author: Greg Gauthier
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
int i,j,numbers[LIMIT];
|
int i,j,numbers[LIMIT];
|
||||||
|
Loading…
Reference in New Issue
Block a user