-
Notifications
You must be signed in to change notification settings - Fork 14
36 lines (32 loc) · 1016 Bytes
/
build-ide.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build IDE
on: [push]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
build: ["win", "linux", "mac"]
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
java-version: '11' # The JDK version to make available on the path.
java-package: jdk+fx # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64 # (x64 or x86) - defaults to x64
- name: Install JPPM
run: wget -O - https://github.com/jphp-group/jphp/releases/download/jppm-0.6.7/jppm-setup-0.6.7.sh | bash
- name: Prepare IDE
run: jppm prepare-ide
env:
JPPM_OS_BUILD: ${{ matrix.build }}
- name: Build IDE
run: jppm build-ide
env:
JPPM_OS_BUILD: ${{ matrix.build }}
- name: Upload artifact
uses: actions/[email protected]
with:
# Artifact name
name: DevelNext-${{ matrix.build }}-SNAPSHOT
# Directory containing files to upload
path: ./ide/build