File tree Expand file tree Collapse file tree 5 files changed +13
-15
lines changed Expand file tree Collapse file tree 5 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 9696            echo "Running test_xeus_cpp in Google Chrome" 
9797            ${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="Google Chrome" --kill_exit --browser-args="--headless"  test_xeus_cpp.html 
9898          else 
99-             export ARCHITECHURE=$(uname -m) 
10099            # Install Google Chrome 
101100            wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 
102101            dpkg-deb -x google-chrome-stable_current_amd64.deb $PWD/chrome 
@@ -115,7 +114,7 @@ jobs:
115114            echo "Running test_xeus_cpp in Firefox" 
116115            ${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="firefox" --kill_exit --timeout 60 --browser-args="--headless"  test_xeus_cpp.html 
117116            echo "Running test_xeus_cpp in Google Chrome" 
118-             ${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless"  test_xeus_cpp.html 
117+             ${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="google-chrome" --kill_exit --timeout 60 --browser-args="--headless  --no-sandbox "  test_xeus_cpp.html 
119118          fi 
120119          node test_xeus_cpp.js 
121120        timeout-minutes : 4 
Original file line number Diff line number Diff line change @@ -280,7 +280,6 @@ jobs:
280280            echo "Running test_xeus_cpp in Google Chrome" 
281281            python ${{ env.BUILD_PREFIX }}/bin/emrun.py --browser="Google Chrome" --kill_exit --timeout 60 --browser-args="--headless"  test_xeus_cpp.html 
282282          else 
283-             export ARCHITECHURE=$(uname -m) 
284283            # Install Google Chrome 
285284            wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 
286285            dpkg-deb -x google-chrome-stable_current_amd64.deb $PWD/chrome 
Original file line number Diff line number Diff line change @@ -119,9 +119,9 @@ It is possible to run the Emscripten tests in a headless browser. We will run ou
119119    cd  –
120120
121121    echo  " Running test_xeus_cpp in Firefox" 
122-     emrun --browser=" firefox"   --kill_exit --browser-args=" --headless"    test_xeus_cpp.html
122+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" firefox"   --kill_exit --browser-args=" --headless"    test_xeus_cpp.html
123123    echo  " Running test_xeus_cpp in Google Chrome" 
124-     emrun --browser=" Google Chrome"   --kill_exit --browser-args=" --headless"    test_xeus_cpp.html
124+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" Google Chrome"   --kill_exit --browser-args=" --headless"    test_xeus_cpp.html
125125``` 
126126
127127To do this on Ubuntu x86 execute the following
@@ -140,9 +140,9 @@ To do this on Ubuntu x86 execute the following
140140    cd  -
141141
142142    echo  " Running test_xeus_cpp in Firefox" 
143-     emrun --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
143+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
144144    echo  " Running test_xeus_cpp in Google Chrome" 
145-     emrun --browser=" google-chrome"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
145+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" google-chrome"   --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox "    test_xeus_cpp.html
146146``` 
147147
148148To build Jupyter Lite with this kernel without creating a website you can execute the following
Original file line number Diff line number Diff line change @@ -120,9 +120,9 @@ It is possible to run the Emscripten tests in a headless browser. We will run ou
120120    cd  -
121121
122122    echo  " Running test_xeus_cpp in Firefox" 
123-     emrun --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
123+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
124124    echo  " Running test_xeus_cpp in Google Chrome" 
125-     emrun --browser=" Google Chrome"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
125+     python python  $BUILD_PREFIX /bin/ emrun.py  --browser=" Google Chrome"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
126126``` 
127127
128128To do this on Ubuntu x86 execute the following
@@ -141,9 +141,9 @@ To do this on Ubuntu x86 execute the following
141141    cd  -
142142
143143    echo  " Running test_xeus_cpp in Firefox" 
144-     emrun --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
144+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
145145    echo  " Running test_xeus_cpp in Google Chrome" 
146-     emrun --browser=" google-chrome"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html
146+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" google-chrome"   --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox "    test_xeus_cpp.html
147147``` 
148148
149149To build Jupyter Lite with this kernel without creating a website you can execute the following
Original file line number Diff line number Diff line change @@ -108,9 +108,9 @@ It is possible to run the Emscripten tests in a headless browser. We will run ou
108108    cd  - 
109109
110110    echo  " Running test_xeus_cpp in Firefox"  
111-     emrun --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html 
111+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html 
112112    echo  " Running test_xeus_cpp in Google Chrome"  
113-     emrun --browser=" Google Chrome"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html 
113+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" Google Chrome"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html 
114114
115115 To do this on Ubuntu x86 execute the following
116116
@@ -129,9 +129,9 @@ To do this on Ubuntu x86 execute the following
129129    cd  - 
130130
131131    echo  " Running test_xeus_cpp in Firefox"  
132-     emrun --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html 
132+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" firefox"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html 
133133    echo  " Running test_xeus_cpp in Google Chrome"  
134-     emrun --browser=" google-chrome"   --kill_exit --timeout 60 --browser-args=" --headless"    test_xeus_cpp.html 
134+     python  $BUILD_PREFIX /bin/ emrun.py  --browser=" google-chrome"   --kill_exit --timeout 60 --browser-args=" --headless --no-sandbox "    test_xeus_cpp.html 
135135
136136 To build Jupyter Lite with this kernel without creating a website you can execute the following
137137
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments