Skip to content

Commit

Permalink
debugging on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kmamal committed May 25, 2021
1 parent 1ee46e4 commit 20211bb
Show file tree
Hide file tree
Showing 4 changed files with 3,287 additions and 1,872 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and upload binaries

on: workflow_dispatch

jobs:
build:
name: Build and upload

strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- id: npm-cache
run: echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v2
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-npm-

- run: npm install --no-save prebuild
- run: npm run prebuild
- run: npx prebuild --upload-all ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

This is a simple fork of the [`gl`](https://github.com/stackgl/headless-gl#readme) package that adds a single feature: it can work together with [`@kmamal/sdl`](https://github.com/kmamal/node-sdl#readme) to allow WebGL drawing to actual windows.

Releases of this package start from `v4.9.0` of `gl`. It should work on Linux, Mac, and Windows. Prebuilt binaries are available for x64 architectures.
It should work on Linux, Mac, and Windows. Prebuilt binaries are available for x64 architectures.

Releases of this package start from `v4.9.0` of `gl`. This package's version number tracks the `gl` package's version number and appends a suffix with it's own "release" version such as: `v4.9.0-2` where the `-2` suffix denotes that this is the second release of this package for the `v4.9.0` release of `gl`.

## Example

Expand Down
Loading

0 comments on commit 20211bb

Please sign in to comment.