-
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from ganeshrvel/development
Development
- Loading branch information
Showing
25 changed files
with
12,985 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master, development ] | ||
pull_request: | ||
branches: [ master, development ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macOS-10.15 | ||
steps: | ||
- name: Setup build environment | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10.x' | ||
- run: npm install -g cross-env create-dmg | ||
- name: Cloning Git repository | ||
uses: actions/checkout@v1 | ||
- name: Attempt to build OpenMTP | ||
run: | | ||
yarn | ||
yarn build | ||
- name: Attempt to generate unsigned macOS app | ||
run: | | ||
export CSC_IDENTITY_AUTO_DISCOVERY=false | ||
yarn package-mac 2>&1 || true | ||
- name: Check if macOS app was generated | ||
run: test -e dist/mac/OpenMTP.app | ||
- name: Attempt to create disk image for generated macOS app | ||
run: | | ||
mkdir dist/dmg | ||
create-dmg dist/mac/OpenMTP.app dist/dmg 2>&1 || true | ||
shasum dist/dmg/* >> dist/dmg/CHECKSUM_SHA256.txt | ||
- name: Upload disk image and checksum as artifact | ||
uses: actions/upload-artifact@v1.0.0 | ||
with: | ||
name: 'Disk Image' | ||
path: dist/dmg/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,6 @@ main.js.map | |
|
||
.idea | ||
npm-debug.log.* | ||
yarn.lock | ||
package-lock.json | ||
.env* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.