ffnightman/.github/workflows/dev.yml

76 lines
2 KiB
YAML

name: Build dev
on: [push]
permissions:
contents: write
jobs:
ubuntu-noble-dev-build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt update
sudo apt -y install build-essential libfmt9 libfmt-dev libspdlog1.12 libspdlog-dev cmake git make
- name: Build
id: vars
run: |
packaging/deb/build_ubuntu_24.04.sh build_ub2404 dev
- name: Make ubuntu-24.04 package
run: |
packaging/deb/pack.sh build_ub2404
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: ubuntu-24.04-package
path: |
_packages_deb/*.deb
debian-bookworm-dev-build:
runs-on: deb-bookworm
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt update
sudo apt -y install build-essential libfmt9 libfmt-dev libspdlog1.10 libspdlog-dev cmake git make
- name: Build
id: vars
run: |
packaging/deb/build_debian_12.sh build_deb12 dev
- name: Make Debian 12 package
run: |
packaging/deb/pack.sh build_deb12
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: debian-12-package
path: |
_packages_deb/*.deb
windows-dev-build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt update
sudo apt -y install mingw-w64 mingw-w64-tools mingw-w64-i686-dev mingw-w64-x86-64-dev mingw-w64-common win-iconv-mingw-w64-dev cmake git make zip
- name: Build
id: vars
run: |
packaging/win/build.sh dev
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: windows-zip
path: |
target_win/bin/*.zip