Skip to content

feat: jsr integration #11

feat: jsr integration

feat: jsr integration #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: true
- name: Install dependencies (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install xorg-dev libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules
- name: Setup Deno
uses: denoland/setup-deno@main
with:
deno-version: 'v1.x'
- name: Build
run: deno task build
- name: Release
if: ${{ github.ref == 'refs/heads/main' }}
uses: softprops/action-gh-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "Release Draft"
draft: true
files: |
libglfw3.so
libglfw3.dylib
glfw3.dll
glfw3_linux.js
glfw3_darwin.js
glfw3_windows.js