File tree Expand file tree Collapse file tree 2 files changed +27
-23
lines changed
Expand file tree Collapse file tree 2 files changed +27
-23
lines changed Original file line number Diff line number Diff line change 1616 - name : Checkout code
1717 uses : actions/checkout@v4
1818
19+ - name : Disable man-db auto-update
20+ run : |
21+ echo "set man-db/auto-update false" | sudo debconf-communicate
22+ sudo dpkg-reconfigure man-db
23+
24+ - name : Install docker-compose
25+ run : sudo apt update && sudo apt install docker-compose -y
26+
27+ - name : Cache Docker image
28+ id : cache-docker-image
29+ uses : actions/cache@v3
30+ with :
31+ path : /tmp/builder-image.tar
32+ key : ${{ runner.os }}-docker-${{ hashFiles('emscripten-builder.dockerfile') }}
33+
34+ - name : Load builder image if cached
35+ if : steps.cache-docker-image.outputs.cache-hit == 'true'
36+ run : docker load -i /tmp/builder-image.tar
37+
38+ - name : Create builder image (if not cached)
39+ if : steps.cache-docker-image.outputs.cache-hit != 'true'
40+ run : |
41+ time make image
42+ docker save -o /tmp/builder-image.tar seanmorris/php-emscripten-builder:latest
43+
1944 - name : Install NPM packages
2045 run : npm ci
2146
Original file line number Diff line number Diff line change 11name : Test
2+
23on : [push]
4+
35jobs :
4- # test-browser:
5- # name: Test Browser
6- # runs-on: ubuntu-latest
7- # steps:
8- # - name: Check out repository code
9- # uses: actions/checkout@v4
10- # - run: npm install
11- # - run: npm install -g deno
12- # - run: npm i -g cv3-test netcat
13- # - run: |
14- # echo "set man-db/auto-update false" | sudo debconf-communicate
15- # sudo dpkg-reconfigure man-db
16- # - run: sudo apt update && sudo apt install docker-compose -y
17- # - run: wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
18- # - run: sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
19- # - run: sudo apt-get update
20- # - run: sudo apt install -y software-properties-common google-chrome-stable
21- # - run: cd demo-web; ./switch-packages.sh local; cd ..;
22- # - run: cp .circleci/.env_8.3-dynamic.ci .env
23- # - run: make image
24- # - run: docker network create phpwasm_default
25- # - run: make web-mjs worker-cgi-mjs web-dbg-mjs
26- # - run: test/browser-test.sh
276
287 test-8-4-static :
298 name : Test 8.4 Static
You can’t perform that action at this time.
0 commit comments