tview/.gitea/workflows/run_build.yaml

34 lines
889 B
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:10:48 -04:00
run-build-ubuntu:
2024-06-16 10:48:57 -04:00
container:
image: ubuntu:latest
2024-06-16 10:52:18 -04:00
steps:
2024-06-16 10:53:17 -04:00
- name: Install things
2024-06-16 10:57:25 -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 10:52:18 -04:00
- name: Check out repository code
uses: actions/checkout@v4
- name: Run ls
run: ls
- name: Generate
run: cmake .
- name: Build
run: cmake --build .
2024-06-16 11:10:48 -04:00
run-build-arch:
container:
image: archlinux:multilib-devel
steps:
- name: Install things
run: pacman -Sy --no-confirm 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 .