From 0329c47fb663b5072517cd226c8f260d6b61e5c5 Mon Sep 17 00:00:00 2001 From: George Gkioulis Date: Wed, 28 Oct 2020 01:16:07 +0100 Subject: [PATCH] ci: Set up retroarch on Ubuntu runner * Install retroarch on the Ubuntu runner through retroarch repository * Run retroarch once so that config files are created * Check that config dir is there --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34838c7..b646fbb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,14 @@ jobs: with: fetch-depth: 0 + - if: startsWith(matrix.os,'ubuntu') + name: Set up retroarch + run: | + sudo add-apt-repository -y ppa:libretro/stable && sudo apt-get update + sudo apt-get -y install retroarch* + retroarch --features + ls ~/.config/retroarch + - name: Set up Go environment uses: actions/setup-go@v2.1.3 with: