tview/.gitea/workflows/run_build.yaml

44 lines
1.3 KiB
YAML
Raw Normal View History

2024-06-16 10:48:57 -04:00
name: Run Build
run-name: ${{ gitea.actor }} is building tview
on: [push]
jobs:
2024-06-16 11:12:56 -04:00
run-build-arch:
2024-06-16 10:48:57 -04:00
container:
2024-06-16 11:12:56 -04:00
image: archlinux:multilib-devel
2024-06-16 10:52:18 -04:00
steps:
- name: Install dependencies
2024-06-16 11:14:20 -04:00
run: pacman -Sy --noconfirm sdl2 mesa-utils exiv2 cmake nodejs git && pacman -Syu --noconfirm
2024-06-16 10:52:18 -04:00
- name: Check out repository code
uses: actions/checkout@v4
- name: Run ls
run: ls
- name: Generate build files
2024-06-16 10:52:18 -04:00
run: cmake .
- name: Build
run: cmake --build .
2024-06-16 11:12:56 -04:00
run-build-ubuntu:
2024-06-16 11:10:48 -04:00
container:
image: ubuntu:24.04
2024-06-16 11:10:48 -04:00
steps:
- name: Install dependencies
2024-06-16 11:12:56 -04:00
run: apt update && apt install --no-install-recommends -y build-essential cmake libsdl2-dev libexiv2-dev mesa-utils nodejs ca-certificates git
2024-06-16 11:10:48 -04:00
- name: Check out repository code
uses: actions/checkout@v4
- name: Generate build files
run: cmake .
- name: Build
run: cmake --build .
run-build-debian:
container:
image: debian:bookworm
steps:
- name: Install dependencies
run: apt update && apt install --no-install-recommends -y build-essential cmake libsdl2-dev libexiv2-dev mesa-utils nodejs ca-certificates git
- name: Check out repository code
uses: actions/checkout@v4
- name: Generate build files
2024-06-16 11:10:48 -04:00
run: cmake .
- name: Build
run: cmake --build .