continue debugging github actions
This commit is contained in:
		
							parent
							
								
									6c8e3fe371
								
							
						
					
					
						commit
						ae10d97099
					
				
							
								
								
									
										6
									
								
								.github/workflows/CI.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/CI.yml
									
									
									
									
										vendored
									
									
								
							@ -162,18 +162,18 @@ jobs:
 | 
			
		||||
          # Run the verification in Chrome
 | 
			
		||||
          echo "Verifying browser environment..."
 | 
			
		||||
          npx mocha-headless-chrome \
 | 
			
		||||
            --args="$CHROME_FLAGS --enable-features=SharedArrayBuffer,CrossOriginIsolation" \
 | 
			
		||||
            --args="$CHROME_FLAGS --enable-features=SharedArrayBuffer,CrossOriginIsolation --disable-web-security --allow-insecure-localhost" \
 | 
			
		||||
            -a no-sandbox \
 | 
			
		||||
            -f http://localhost:3000/verify-browser.html
 | 
			
		||||
 | 
			
		||||
          # Run MT tests with verified configuration
 | 
			
		||||
          npx mocha-headless-chrome \
 | 
			
		||||
            --args="$CHROME_FLAGS --enable-features=SharedArrayBuffer,CrossOriginIsolation" \
 | 
			
		||||
            --args="$CHROME_FLAGS --enable-features=SharedArrayBuffer,CrossOriginIsolation --disable-web-security --allow-insecure-localhost" \
 | 
			
		||||
            -a no-sandbox \
 | 
			
		||||
            -f http://localhost:3000/tests/ffmpeg-core-mt.test.html 2>&1 | tee mt-core-test.log
 | 
			
		||||
 | 
			
		||||
          npx mocha-headless-chrome \
 | 
			
		||||
            --args="$CHROME_FLAGS --enable-features=SharedArrayBuffer,CrossOriginIsolation" \
 | 
			
		||||
            --args="$CHROME_FLAGS --enable-features=SharedArrayBuffer,CrossOriginIsolation --disable-web-security --allow-insecure-localhost" \
 | 
			
		||||
            -a no-sandbox \
 | 
			
		||||
            -f http://localhost:3000/tests/ffmpeg-mt.test.html 2>&1 | tee mt-test.log
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
  <head>
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <meta http-equiv="Cross-Origin-Opener-Policy" content="same-origin" />
 | 
			
		||||
    <meta http-equiv="Cross-Origin-Embedder-Policy" content="require-corp" />
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,13 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
  <head>
 | 
			
		||||
  <meta charset="UTF-8">
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <meta http-equiv="Cross-Origin-Opener-Policy" content="same-origin" />
 | 
			
		||||
    <meta http-equiv="Cross-Origin-Embedder-Policy" content="require-corp" />
 | 
			
		||||
    <meta http-equiv="Cross-Origin-Resource-Policy" content="same-origin" />
 | 
			
		||||
    <meta http-equiv="Origin-Agent-Cluster" content="?1" />
 | 
			
		||||
    <title>FFmpeg Unit Test</title>
 | 
			
		||||
  <link rel="stylesheet" href="../node_modules/mocha/mocha.css">
 | 
			
		||||
    <link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
 | 
			
		||||
  </head>
 | 
			
		||||
  <body>
 | 
			
		||||
    <div id="mocha"></div>
 | 
			
		||||
@ -15,7 +19,7 @@
 | 
			
		||||
      window.FFMPEG_TYPE = "st";
 | 
			
		||||
    </script>
 | 
			
		||||
    <script>
 | 
			
		||||
    mocha.setup('bdd');
 | 
			
		||||
      mocha.setup("bdd");
 | 
			
		||||
      mocha.timeout(60000);
 | 
			
		||||
    </script>
 | 
			
		||||
    <script src="./ffmpeg-core.test.js"></script>
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,13 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
  <head>
 | 
			
		||||
  <meta charset="UTF-8">
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <meta http-equiv="Cross-Origin-Opener-Policy" content="same-origin" />
 | 
			
		||||
    <meta http-equiv="Cross-Origin-Embedder-Policy" content="require-corp" />
 | 
			
		||||
    <meta http-equiv="Cross-Origin-Resource-Policy" content="same-origin" />
 | 
			
		||||
    <meta http-equiv="Origin-Agent-Cluster" content="?1" />
 | 
			
		||||
    <title>FFmpeg Unit Test</title>
 | 
			
		||||
  <link rel="stylesheet" href="../node_modules/mocha/mocha.css">
 | 
			
		||||
    <link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
 | 
			
		||||
  </head>
 | 
			
		||||
  <body>
 | 
			
		||||
    <div id="mocha"></div>
 | 
			
		||||
@ -13,10 +17,11 @@
 | 
			
		||||
    <script src="./test-helper-browser.js"></script>
 | 
			
		||||
    <script type="text/javascript">
 | 
			
		||||
      window.FFMPEG_TYPE = "st";
 | 
			
		||||
    window.CORE_URL = "http://localhost:3000/packages/core/dist/umd/ffmpeg-core.js";
 | 
			
		||||
      window.CORE_URL =
 | 
			
		||||
        "http://localhost:3000/packages/core/dist/umd/ffmpeg-core.js";
 | 
			
		||||
    </script>
 | 
			
		||||
    <script>
 | 
			
		||||
    mocha.setup('bdd');
 | 
			
		||||
      mocha.setup("bdd");
 | 
			
		||||
      mocha.timeout(60000);
 | 
			
		||||
    </script>
 | 
			
		||||
    <script src="./ffmpeg.test.js"></script>
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,4 @@
 | 
			
		||||
import { FFmpegWASM } from "@ffmpeg/ffmpeg";
 | 
			
		||||
 | 
			
		||||
const { FFmpeg } = FFmpegWASM;
 | 
			
		||||
const { FFmpeg } = window.FFmpegWASM;
 | 
			
		||||
 | 
			
		||||
const genName = (name) => `[ffmpeg][${FFMPEG_TYPE}] ${name}`;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user