File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Rebaseline Tests
2+
3+ on : [workflow_dispatch]
4+
5+ permissions :
6+ contents : write
7+ pull-requests : write
8+
9+ jobs :
10+ rebaseline-tests :
11+ name : Rebaseline Tests
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout repo
15+ uses : actions/checkout@v4
16+ with :
17+ submodules : true
18+ - name : pip install
19+ run : |
20+ which python3
21+ python3 --version
22+ python3 -m pip install -r requirements-dev.txt
23+ - name : Install emsdk
24+ run : |
25+ EM_CONFIG=$HOME/emsdk/.emscripten
26+ echo $EM_CONFIG
27+ curl -# -L -o ~/emsdk-main.tar.gz https://github.com/emscripten-core/emsdk/archive/main.tar.gz
28+ tar -C ~ -xf ~/emsdk-main.tar.gz
29+ mv ~/emsdk-main ~/emsdk
30+ cd ~/emsdk
31+ ./emsdk install tot
32+ ./emsdk activate tot
33+ echo "JS_ENGINES = [NODE_JS]" >> $EM_CONFIG
34+ echo "final config:"
35+ cat $EM_CONFIG
36+ echo "EM_CONFIG=$EM_CONFIG" >> $GITHUB_ENV
37+ - name : Rebaseline tests
38+ run : |
39+ ./bootstrap
40+ git config user.name emscripten-bot
41+ git config user.email emscripten-bot@users.noreply.github.com
42+ ./tools/maint/rebaseline_tests.py
43+ - name : Create PR
44+ id : cpr
45+ run : |
46+ git push origin
47+ gh pr create --fill
48+ env :
49+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50+ - name : Enable auto-merge
51+ run : gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}"
52+ env :
53+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments