Skip to content

Commit

Permalink
add github workflow to build the app in diff OSes.
Browse files Browse the repository at this point in the history
  • Loading branch information
vipranarayan14 committed Feb 11, 2020
1 parent 24d4f25 commit 516d411
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build App

on: push

jobs:
build:

strategy:
matrix:
platform: [windows-latest, macos-latest, ubuntu-latest]

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

steps:
- uses: actions/checkout@v2

- name: Setup Python environment
uses: actions/setup-python@v1
with:
python-version: 3.7.6

- name: Install Pipenv
run: |
python -m pip install --upgrade pip
pip install pipenv
- name: Install FBS requirements
run: |
sudo apt-get update
sudo apt-get install ruby ruby-dev rubygems build-essential
sudo gem install --no-document fpm
fpm --version
if: matrix.platform == 'ubuntu-latest'

- name: Install Package dependencies
run: |
pipenv install
pipenv graph
- name: Build app
run: |
pipenv run fbs freeze
- name: Make installer
run: |
pipenv run fbs installer

0 comments on commit 516d411

Please sign in to comment.