jitsi-meet-electron/.github/workflows/ci.yml
2021-11-02 12:44:47 +01:00

61 lines
1.2 KiB
YAML

name: CI
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
build-linux:
name: Linux
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install dependencies
run: sudo apt-get install libx11-dev zlib1g-dev libpng-dev libxtst-dev
- name: Build it
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run dist
build-mac:
name: macOS
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Build it
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run lint
npm run dist
build-windows:
name: Windows
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Build it
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run dist