29 lines
679 B
YAML
29 lines
679 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Install build dependencies
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
libsdl2-dev \
|
|
libsdl2-image-dev \
|
|
libsdl2-mixer-dev \
|
|
pkg-config
|
|
|
|
- name: Checkout
|
|
run: |
|
|
git config --global http.https://git.kimchi.sslVerify false
|
|
git clone --depth 1 https://${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}@git.kimchi/tas/major_tom.git .
|
|
|
|
- name: Build (native Linux)
|
|
run: make
|