-
Notifications
You must be signed in to change notification settings - Fork 96
42 lines (36 loc) · 1.19 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
name: Build api7ee-runtime
on:
push:
branches:
- api7ee-runtime-test
pull_request:
branches:
- api7ee-runtime-test
jobs:
release:
name: Release
timeout-minutes: 60
strategy:
matrix:
platform:
- runner: ubuntu-22.04
arch: amd64
build_arch: linux/amd64
- runner: buildjet-2vcpu-ubuntu-2204-arm
arch: arm64
build_arch: inux/arm64/v8
runs-on: ${{ matrix.platform.runner }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install -y make ruby ruby-dev rubygems build-essential
- name: Build api7ee-runtime deb
run: |
make package type=deb app=api7ee-runtime runtime_version=dev image_base=debian image_tag=bullseye-slim arch=${{ matrix.platform.build_arch }}
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: api7ee-runtime_${{ env.version }}-0~debianbullseye-slim_${{ matrix.platform.arch }}.deb
path: ./output/api7ee-runtime_${{ env.version }}-0~debianbullseye-slim_${{ matrix.platform.arch }}.deb