Skip to content

Linux Release Builds #75

Linux Release Builds

Linux Release Builds #75

name: Linux Release Builds
on:
create:
workflow_dispatch:
schedule:
- cron: '0 10 * * 1'
jobs:
build-debian:
name: Debian
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Build Environment
run: cd contrib/ci/ && podman build -t pomidaq -f Dockerfile-debian .
- name: Build
run: |
podman run -t -e COMPILER_VENDOR=$CVENDOR -e CC=gcc -e CXX=g++ \
-e [email protected] \
-v `pwd`:/build pomidaq ./contrib/ci/cibuild.sh
- name: Upload Debian package artifact
uses: actions/upload-artifact@v4
with:
name: Debian Package
path: |
*.deb
*.build*
build-ubuntu:
name: Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Build Environment
run: cd contrib/ci/ && podman build -t pomidaq -f Dockerfile-ubuntu .
- name: Build
run: |
podman run -t -e COMPILER_VENDOR=$CVENDOR -e CC=gcc -e CXX=g++ \
-e [email protected] \
-v `pwd`:/build pomidaq ./contrib/ci/cibuild.sh
- name: Upload Ubuntu package artifact
uses: actions/upload-artifact@v4
with:
name: Ubuntu Package
path: |
*.deb
*.build*
build-flatpak:
name: Flatpak
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Build Environment
run: cd contrib/flatpak/ && podman build -t pomidaq-flatpak -f Dockerfile .
- name: Build
run: |
podman run --privileged -t -v `pwd`:/build pomidaq-flatpak \
./contrib/flatpak/build-bundle.sh
- name: Upload Flatpak bundle
uses: actions/upload-artifact@v4
with:
name: Flatpak Bundle
path: contrib/flatpak/*.flatpak