forked from SourMesen/Mesen-S
-
Notifications
You must be signed in to change notification settings - Fork 21
28 lines (27 loc) · 1.02 KB
/
linux-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: "Linux build"
on:
push:
workflow_dispatch:
jobs:
linux-build:
runs-on: ubuntu-latest
container: ubuntu:bionic
steps:
- uses: actions/checkout@v2
- name: Set up dependencies
run: |
apt-get update
apt-get install -yq --no-install-recommends gnupg ca-certificates
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | tee /etc/apt/sources.list.d/mono-official-stable.list
apt-get update
apt-get install -yq --no-install-recommends g++ gcc zip unzip mono-devel libsdl2-dev libsdl2-2.0 gnome-themes-standard xvfb x11-apps
apt-get clean && rm -rf /var/cache/apt/lists/*
- name: Build
run: |
make -j$(nproc) USE_GCC=true
- name: Upload binary
uses: actions/upload-artifact@v1
with:
name: Mesen-S-Linux
path: bin/x64/Release/Mesen-S.exe