Skip to content

Commit

Permalink
Make gll an optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rianadon committed Dec 11, 2023
1 parent ce91e51 commit 6c436d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
with:
node-version: 21

- name: Install gl dependencies
run: sudo apt-get install build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config
# I'm disabling gl for now
# - name: Install gl dependencies
# run: sudo apt-get install build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config

- name: Install npm dependencies
run: npm ci
run: npm ci --no-optional

- name: Install openscad
run: sudo apt-get install -y openscad
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"@unocss/transformer-directives": "^0.52.7",
"canvas": "^2.11.2",
"concurrently": "^8.2.2",
"gl": "^6.0.2",
"lint-staged": "^15.1.0",
"meshoptimizer": "^0.20.0",
"ml-matrix": "^6.10.4",
Expand All @@ -66,6 +65,9 @@
"vite": "^4.3.0",
"vite-plugin-mediapipe": "^0.0.7"
},
"optionalDependencies": {
"gl": "^6.0.2"
},
"type": "module",
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand Down

0 comments on commit 6c436d6

Please sign in to comment.