From 7508dd74eeeed487629d06dad714af067aeb7800 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Thu, 12 Jan 2023 22:04:25 +0200 Subject: [PATCH] Update workflow dependencies (#1504) * Update workflow dependencies ubuntu-latest vm has been updated from 20.04 to 22.04. To avoid sudden issues, use 22.04 explicitly. CMake doesn't need to be updated on 22.04, but ninja must be installed separately in the simulator workflow. actions/checkout@v2 uses deprecated Node.js 12. Update to v3 which uses 16 --- .github/workflows/docker.yml | 2 +- .github/workflows/main.yml | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8d45fe08..7af81515 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: USERNAME: infinitime steps: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 932eb06b..ef8d3977 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,22 +59,23 @@ jobs: path: ./build/output/infinitime-resources-*.zip build-simulator: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - - name: Install cmake - uses: lukka/get-cmake@v3.18.3 - - name: Install SDL2 development package run: | sudo apt-get update sudo apt-get -y install libsdl2-dev + - name: Install Ninja + run: | + sudo apt-get -y install ninja-build + - name: Install lv_font_conv run: npm i -g lv_font_conv@1.5.2 - name: Checkout source files - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive