From 72ed836144894d6e5f96f91887c4bbdd4601e159 Mon Sep 17 00:00:00 2001 From: Shriraj Hegde Date: Tue, 5 Oct 2021 16:03:41 +0530 Subject: [PATCH] Use ubuntu 21.04 container --- .github/workflows/continuous-build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous-build.yml b/.github/workflows/continuous-build.yml index d8d8f80..5fa8bff 100644 --- a/.github/workflows/continuous-build.yml +++ b/.github/workflows/continuous-build.yml @@ -6,16 +6,18 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: ubuntu:21.04 steps: - uses: actions/checkout@v2 - - name: update system + - name: Install g++, make run: | - sudo apt update && sudo apt upgrade -y + apt update && \ + apt install coreutils sed git build-essential gcc-11 g++-11 -y - name: Build - run: make -j `nproc` - + run: make + - uses: actions/upload-artifact@v2 with: name: Upload built binary