nodeguy/.github/workflows/prebuild.yml
Atul R 86c3ef089c
Integration with Qode 2.0 (#400)
* Moves qt integration solely to the nodegui core addon

* Adds lint fixes

* moved to integration core

* cleans up export snippet

* revert package.json

* Add exit if app->exec finishes.

* lint fix

* Makes QApplication custom

* adds qobject to wrap of qapp

* Adds working qt run looper

* Adds font default

* Adds qt installer

* Updates qode integration to v2.0.1

* fix cpp lints

* Fixes lint and deps

* Adds miniqt installation

* adds setup mini qt script

* skips tests due to issues with jest

* fix config and download path for linux and windows

* Adds multiple artifact downloader

* fix qt config and compilation

* Fixes qode path for windows (now it can load dll's easily)

* Add compilation

* fix windows path setup

* use scripts directly

* enabled tests back

* fix ubuntu deps

* update to alpha release

* fix workflow

* adds more artifacts and funding field

* change to alpha v2

* update prebuild yml

* revert build action

* disabling prebuild for now

* switch to stable release 5.14.1

* version bump
2020-03-07 10:28:30 +01:00

39 lines
1.5 KiB
YAML

on:
repository_dispatch:
types: [on-demand-build]
release:
types: [created]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
# - uses: actions/setup-node@master
# with:
# node-version: '13.x'
# - name: Install ubuntu deps
# if: contains(matrix.os, 'ubuntu')
# run: sudo apt install mesa-common-dev libglu1-mesa-dev
# - name: Install deps
# run: npm install
# env:
# SKIP_BUILD: 1
# - name: Change version if master
# if: contains(github.event.client_payload.tag, '0.0.0-latest-master')
# run: npm --no-git-tag-version version 0.0.0-latest-master
# - name: Prebuild binary
# run: npx prebuild --all --backend=cmake-js --strip --runtime=napi --include-regex="\.[n,e,l][a-z]*$"
# - name: Release
# uses: softprops/action-gh-release@master
# with:
# files: prebuilds/@nodegui/*.tar.gz
# tag_name: ${{ github.event.release.tag_name || github.event.client_payload.tag }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}