-
Notifications
You must be signed in to change notification settings - Fork 16
52 lines (48 loc) · 1.75 KB
/
pkg-build-workflow.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
44
45
46
47
48
49
50
51
52
name: Pkg build
on: [push]
jobs:
Pkg-build-ubuntu20:
runs-on: ubuntu-20.04
steps:
- name: Check out repository code, branch='${{ github.ref }}'
uses: actions/checkout@v2
- name: Change sources.list repositories to archive Ubuntu
run: sudo sed -i "s|http://azure.archive.ubuntu.com|http://archive.ubuntu.com|g" /etc/apt/sources.list
- name: Install required dependencies
run: sudo apt update -y && sudo apt install -y curl devscripts equivs tar gcc
- name: Ubuntu 20.04 - Package build
run: sudo ./builder.sh
working-directory: ./pkg/deb
- run: echo "Job's status is ${{ job.status }}."
Pkg-build-windows:
runs-on: windows-2022
steps:
- name: Check out repository code, branch='${{ github.ref }}'
uses: actions/checkout@v2
- name: Windows Server 2022 - Package build
run: ./builder.ps1
working-directory: ./pkg/msi
- run: echo "Job's status is ${{ job.status }}."
Pkg-build-ubuntu16:
runs-on: [self-hosted, ubuntu18]
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Ubuntu 16.04 - Package build
run: sudo docker run --rm okynos/fim-builder:xenial ${{ github.ref_name }}
Pkg-build-centos7:
runs-on: [self-hosted, ubuntu18]
steps:
- name: Check out code
uses: actions/checkout@v2
- name: CentOS 7 - Package build
run: sudo docker run --rm okynos/fim-builder:centos7 ${{ github.ref_name }}
Pkg-build-macos11:
runs-on: macos-11
steps:
- name: Check out code
uses: actions/checkout@v2
- name: macOS 11 - Package build
run: sudo ./builder.sh
working-directory: ./pkg/macos
- run: echo "Job's status is ${{ job.status }}."