This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
Update README.md #86
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 libudev-dev | |
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 zip unzip clang 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) | |
- name: Upload binary | |
uses: actions/upload-artifact@v1 | |
with: | |
name: Mesen-Linux | |
path: bin/x64/Release/Mesen.exe |