-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (42 loc) · 1.37 KB
/
build.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
36
37
38
39
40
41
42
43
name: build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download artifact - lame
uses: dawidd6/action-download-artifact@v2
with:
repo: clearfraction/lame
workflow: build-core.yml
check_artifacts: true
- name: Download artifact - fdk-aac
uses: dawidd6/action-download-artifact@v2
with:
repo: clearfraction/fdk-aac
workflow: build-core.yml
check_artifacts: true
- name: Download artifact - x264
uses: dawidd6/action-download-artifact@v2
with:
repo: clearfraction/x264
workflow: build-core.yml
check_artifacts: true
- name: Download artifact - x265
uses: dawidd6/action-download-artifact@v2
with:
repo: clearfraction/x265
workflow: build-core.yml
check_artifacts: true
- name: Building a package
run: |
curl -LO https://raw.githubusercontent.com/clearfraction/tools/master/build.sh && chmod +x build.sh
docker run --privileged --cap-add=SYS_ADMIN --security-opt apparmor:unconfined -v $(pwd):/home clearlinux:latest sh -c "cd /home && ./build.sh"
- name: Upload result
uses: actions/upload-artifact@v2
with:
path: RPMS/*.rpm