34 lines
888 B
YAML
34 lines
888 B
YAML
name: Run Build
|
|
run-name: ${{ gitea.actor }} is building tview
|
|
on: [push]
|
|
|
|
jobs:
|
|
run-build-arch:
|
|
container:
|
|
image: archlinux:multilib-devel
|
|
steps:
|
|
- name: Install things
|
|
run: pacman -Sy --noconfirm sdl2 mesa-utils exiv2 cmake nodejs git
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Run ls
|
|
run: ls
|
|
- name: Generate
|
|
run: cmake .
|
|
- name: Build
|
|
run: cmake --build .
|
|
run-build-ubuntu:
|
|
container:
|
|
image: ubuntu:latest
|
|
steps:
|
|
- name: Install things
|
|
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: Run ls
|
|
run: ls
|
|
- name: Generate
|
|
run: cmake .
|
|
- name: Build
|
|
run: cmake --build .
|