tview/.gitea/workflows/run_build.yaml

34 lines
915 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: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:
2024-06-16 10:53:17 -04:00
- name: Install things
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
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:
2024-06-16 11:12:56 -04:00
image: ubuntu:latest
2024-06-16 11:10:48 -04:00
steps:
- name: Install things
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: Run ls
run: ls
- name: Generate
run: cmake .
- name: Build
run: cmake --build .