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
This commit is contained in:
parent
3c9b3435a5
commit
7508dd74ee
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -14,7 +14,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
USERNAME: infinitime
|
USERNAME: infinitime
|
||||||
steps:
|
steps:
|
||||||
|
|
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -59,22 +59,23 @@ jobs:
|
||||||
path: ./build/output/infinitime-resources-*.zip
|
path: ./build/output/infinitime-resources-*.zip
|
||||||
|
|
||||||
build-simulator:
|
build-simulator:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Install cmake
|
|
||||||
uses: lukka/get-cmake@v3.18.3
|
|
||||||
|
|
||||||
- name: Install SDL2 development package
|
- name: Install SDL2 development package
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install libsdl2-dev
|
sudo apt-get -y install libsdl2-dev
|
||||||
|
|
||||||
|
- name: Install Ninja
|
||||||
|
run: |
|
||||||
|
sudo apt-get -y install ninja-build
|
||||||
|
|
||||||
- name: Install lv_font_conv
|
- name: Install lv_font_conv
|
||||||
run:
|
run:
|
||||||
npm i -g lv_font_conv@1.5.2
|
npm i -g lv_font_conv@1.5.2
|
||||||
|
|
||||||
- name: Checkout source files
|
- name: Checkout source files
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue