chage: add api7ee-runtime #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build api7ee-runtime | |
on: | |
push: | |
branches: | |
- api7ee-runtime-test | |
pull_request: | |
branches: | |
- api7ee-runtime-test | |
jobs: | |
release: | |
name: Release | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- runner: ubuntu-22.04 | |
arch: amd64 | |
build_arch: linux/amd64 | |
- runner: buildjet-2vcpu-ubuntu-2204-arm | |
arch: arm64 | |
build_arch: linux/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 |