Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #66 from empathicqubit/master
Browse files Browse the repository at this point in the history
Use Ubuntu Docker container, which is cleaner than Github runner
  • Loading branch information
NovaSquirrel authored Nov 25, 2021
2 parents 343bf3e + 80d24b9 commit e5e498d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,22 @@ on:

jobs:
linux-build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container: ubuntu:bionic
steps:
- uses: actions/checkout@v2
- name: Set up dependencies
run: |
sudo apt-get install -yq --no-install-recommends gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt-get update
sudo apt-get install -yq --no-install-recommends mono-devel libsdl2-dev libsdl2-2.0 gnome-themes-standard xvfb x11-apps
sudo apt-get clean && sudo rm -rf /var/cache/apt/lists/*
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 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
make -j$(nproc)
- name: Upload binary
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit e5e498d

Please sign in to comment.