Commit 44ee6f42 authored by Jean-Andre Santoni's avatar Jean-Andre Santoni
Browse files

Github actions for CI

parent eb92f5a6
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make -j4
build_linux_armv7_neon:
runs-on: ubuntu-latest
container: dockcross/linux-armv7
steps:
- uses: actions/checkout@v2
- run: make platform=unix-armv7-neon-hardfloat -j4
build_osx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: make platform=osx -j4
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: CC=gcc make platform=win -j4
sudo: required
services:
- docker
script:
- make docker
notifications:
email: false
FROM ubuntu:16.04
MAINTAINER libretro
# Update all dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y
# Install RetroArch's build dependencies
RUN apt-get install -y make git-core curl g++ pkg-config libglu1-mesa-dev freeglut3-dev mesa-common-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev software-properties-common
# Install RetroArch from the PPA
RUN apt-add-repository -y multiverse
RUN add-apt-repository -y ppa:libretro/testing
RUN apt-get update && apt-get upgrade -y
RUN apt-get install retroarch -y
RUN mkdir -p ~/.config/retroarch
RUN echo "video_driver = \"null\"" >> ~/.config/retroarch/retroarch.cfg
RUN echo "audio_driver = \"null\"" >> ~/.config/retroarch/retroarch.cfg
RUN echo "confirm_on_exit = \"false\"" >> ~/.config/retroarch/retroarch.cfg
VOLUME ["/app"]
WORKDIR /app
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment