-
-
Notifications
You must be signed in to change notification settings - Fork 233
47 lines (39 loc) · 989 Bytes
/
package-raspberry.yml
File metadata and controls
47 lines (39 loc) · 989 Bytes
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
36
37
38
39
40
41
42
43
44
45
46
47
name: package-raspberry
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
haxe: [4.3.3]
fail-fast: true
runs-on: ubuntu-latest
steps:
# Checkout, install haxe and libs
- uses: actions/checkout@v2
- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe }}
# Snapcraft required for ARM build
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
- run: haxe -version
- run: haxe setup.hxml
- run: haxelib list
# Node/NPM commands
- uses: actions/setup-node@v1
with:
node-version: '14'
- run: cd app && npm install
- run: cd app && npm run pack-linux-arm64
# Upload
- uses: actions/upload-artifact@v2
with:
name: raspberry-distribution
path: app/redist/LDtk**installer.AppImage