Skip to content

Conversation

@uyjulian
Copy link
Member

No description provided.

run: |
make -j $(getconf _NPROCESSORS_ONLN) clean
make -j $(getconf _NPROCESSORS_ONLN) ${{ matrix.debug }}
make -j $(getconf _NPROCESSORS_ONLN) ${{ matrix.debug }} || make clean
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you changing that line?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the multi-threaded build fails, it will cleanup.
If it succeeds, it won't run make clean and the next line will proceed normally.
This is the same logic as done here: https://github.com/ps2dev/ps2dev/blob/28fdcbdde0c773569a3f09f2a95c61ab62f6fb94/scripts/002-ps2sdk.sh#L43

@fjtrujy fjtrujy merged commit 9aa0db2 into ps2dev:master Nov 1, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants