File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Web CI
2+
3+ on :
4+ release :
5+ types : [published]
6+ push :
7+ branches : ['main']
8+ pull_request :
9+ workflow_dispatch :
10+
11+ jobs :
12+ web-build :
13+ name : Build for the web
14+ runs-on : ubuntu-24.04
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ fetch-depth : ' 0'
19+
20+ # NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything!
21+ - name : Setup Meson
22+ run : |
23+ pip install meson --break-system-packages
24+
25+ - name : Install dependencies
26+ run : |
27+ sudo apt-get update
28+ sudo apt-get install ninja-build pkg-config build-essential wabt -y --no-install-recommends
29+
30+ - name : Build
31+ run : |
32+ bash ./platforms/build-web.sh
33+ meson test -C build-web
34+
35+ # TODO upload page to gh-pages!
36+ - name : Upload artifacts
37+ uses : actions/upload-artifact@v4
38+ with :
39+ name : oopetris-assets
40+ path : build-web/src/executables/
You can’t perform that action at this time.
0 commit comments