Skip to content

Merge pull request #2 from opsnlops/no-grpc #91

Merge pull request #2 from opsnlops/no-grpc

Merge pull request #2 from opsnlops/no-grpc #91

Workflow file for this run

name: Create Debian Package
on: [push, pull_request]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: RelWithDebInfo
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- buildjet-4vcpu-ubuntu-2204
- buildjet-8vcpu-ubuntu-2204-arm
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build in container
run: docker build -f ${{github.workspace}}/Dockerfile . --target package -t temp-image
- name: Build temp container
run: docker create --name temp-container temp-image
- name: Copy Package
run: mkdir ${{github.workspace}}/package/ && docker cp temp-container:/package/ ${{github.workspace}}/
- name: Save artifact
uses: actions/upload-artifact@v4
with:
name: creature-server-package-${{ matrix.os }}
path: ${{github.workspace}}/package/