Skip to content

Conversation

@star-e
Copy link
Contributor

@star-e star-e commented Dec 31, 2025

No description provided.

@star-e star-e changed the title test github pr test use macos-latest Dec 31, 2025
// compiler engine
await utils.runCommand('node', ['./workflow/compiler-engine.js', forceFlag].filter(Boolean));
await utils.runCommand('node', ['--max-old-space-size=8192', './workflow/compiler-engine.js', forceFlag].filter(Boolean));
// build cc module
Copy link
Contributor Author

Choose a reason for hiding this comment

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

OOM if max-old-space-size is not set.

{
"engine": {
"repo": "git@github.com:cocos/cocos4.git",
"repo": "https://github.com/cocos/cocos4.git",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ssh cannot be used on github action.

Comment on lines +5 to +12
# http-proxy:
# description: 'HTTP 代理地址'
# required: false
# default: 'http://127.0.0.1:7890'
# https-proxy:
# description: 'HTTPS 代理地址'
# required: false
# default: 'http://127.0.0.1:7890'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no proxy on github action

it('查询 internal 目录下 ccType = cc.SceneAsset 资源', async () => {
const allScenes = await assetManager.queryAssetInfos({ ccType: 'cc.SceneAsset', pattern: 'db://internal/**/*' });
expect(allScenes.length).toBe(3);
expect(allScenes.length).toBe(6);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added 3 new internal scenes.

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.

1 participant