-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (31 loc) · 949 Bytes
/
compilation.yml
File metadata and controls
38 lines (31 loc) · 949 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
name: CI
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build:
runs-on: ubuntu-latest
container: orbisdev/orbisdev:latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
apk add ncurses-dev make bash python2
apk add libintl icu-dev wget
wget https://dot.net/v1/dotnet-install.sh && chmod 755 dotnet-install.sh && ./dotnet-install.sh -c 3.0 --install-dir ~/cli
- name: Compile Sample App
run: |
export PATH=~/cli:$PATH # .net cli
make clean all oelf eboot pkg_build
- name: Get short SHA
id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- name: Compress bin folder
run: |
tar -zcvf bin.tar.gz bin
- uses: actions/upload-artifact@v2
with:
name: bin-${{ steps.slug.outputs.sha8 }}-${{matrix.os}}
path: bin.tar.gz