Skip to content

Commit 8c15e85

Browse files
committed
Add misc last files
1 parent be15384 commit 8c15e85

File tree

9 files changed

+449
-10
lines changed

9 files changed

+449
-10
lines changed

.github/workflows/main.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
build-and-deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- run: corepack enable
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: '20'
19+
cache: 'yarn'
20+
21+
- name: Build
22+
run: |
23+
yarn install
24+
yarn build
25+
touch build/.nojekyll
26+
27+
- name: Deploy
28+
uses: JamesIves/github-pages-deploy-action@v4
29+
with:
30+
folder: build

.gitignore

+18-6
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,27 @@ yarn-error.log*
2020
build
2121
static/*.pem
2222

23+
# wasm
24+
# static/*.wasm
25+
# src/lib/*.js
26+
# !src/lib/dummy.js
27+
src/lib/tmp
28+
29+
# test visualizations
30+
src/scene/renderImpostors/__test__/test_preview.png
31+
src/scene/renderImpostors/__test__/test_preview.n.png
32+
src/passes/rasterizeSw/__test__/*.png
33+
34+
# assets
35+
static/models/jinx
36+
static/models/bunny-hires.obj
37+
static/models/lucy.obj
38+
static/models/robot.*
39+
static/models/xyzrgb_dragon.obj
2340

2441
# custom
2542
*.code-workspace
2643
_references
2744
output.png
2845
makefile
29-
scenes
30-
*.obj
31-
static/*.wasm
32-
src/lib/meshoptimizer.js
33-
src/lib/metis.js
34-
src/lib/metis2.js
46+

deno.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"tasks": {
33
"start": "DENO_NO_PACKAGE_JSON=1 && deno run --allow-read=. --allow-write=. --unstable-webgpu src/index.deno.ts",
44
"test": "DENO_NO_PACKAGE_JSON=1 && deno test --allow-read=. --allow-write=. --unstable-webgpu src",
5-
"impostors": "DENO_NO_PACKAGE_JSON=1 && deno test --allow-read=. --allow-write=. --unstable-webgpu src/scene/renderImpostors/renderImpostors.test.ts"
5+
"impostors": "DENO_NO_PACKAGE_JSON=1 && deno test --allow-read=. --allow-write=. --unstable-webgpu src/scene/renderImpostors/renderImpostors.test.ts",
6+
"rasterizeSw": "DENO_NO_PACKAGE_JSON=1 && deno test --allow-read=. --allow-write=. --unstable-webgpu src/passes/rasterizeSw/rasterizeSwPass.test.ts"
67
},
78
"imports": {
89
"png": "https://deno.land/x/pngs@0.1.1/mod.ts",
@@ -11,6 +12,7 @@
1112
"std-path": "https://deno.land/std@0.224.0/path/mod.ts",
1213
"fs": "https://deno.land/std@0.224.0/fs/mod.ts",
1314
"assert": "https://deno.land/std@0.224.0/assert/mod.ts",
15+
"deep-merge": "https://deno.land/std@0.224.0/collections/deep_merge.ts",
1416
"webgl-obj-loader": "npm:webgl-obj-loader@2.0.8"
1517
},
1618
"test": {

0 commit comments

Comments
 (0)