mirror of
https://github.com/loot/morrowind.git
synced 2026-07-27 14:16:19 -07:00
Update software versions used in CI
The ubuntu-20.04 runner is due to be deprecated on 2025-02-01 and unsupported by 2025-04-01. The previous version of the metadata validator wouldn't run on Ubuntu 24.04 due to a dependency version mismatch, so has been updated. The actions/checkout and actions/setup-node actions have also been updated to their latest major versions. The version of Node.js used has also been updated to the latest LTS version.
This commit is contained in:
@@ -6,23 +6,27 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- name: Install metadata validator dependencies
|
||||
run: |
|
||||
wget https://github.com/unicode-org/icu/releases/download/release-71-1/icu4c-71_1-Ubuntu20.04-x64.tgz
|
||||
tar -xf icu4c-71_1-Ubuntu20.04-x64.tgz
|
||||
|
||||
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{ github.workspace }}/icu/usr/local/lib" >> "$GITHUB_ENV"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-upgrade \
|
||||
libicu74 \
|
||||
libtbb12
|
||||
|
||||
- name: Install metadata validator
|
||||
run: wget https://github.com/loot/metadata-validator/releases/download/0.21.0/metadata-validator-0.21.0-0-gd56177b_0.21.0-Linux.tar.xz -O - | tar -xJ --strip-components=1
|
||||
run: |
|
||||
wget https://github.com/loot/metadata-validator/releases/download/0.24.0/metadata-validator-0.24.0-0-g36fea7e_0.24.0-Linux.tar.xz -O - | tar -xJ --strip-components=1
|
||||
ln -s libloot.so.0.24.5 libloot.so.0
|
||||
|
||||
- name: Install parser
|
||||
run: npm install -g js-yaml
|
||||
|
||||
Reference in New Issue
Block a user