mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 20:11:59 +00:00
update python and OS versions in CI
This commit is contained in:
@@ -16,15 +16,15 @@ jobs:
|
|||||||
- name: Checkout 🧰
|
- name: Checkout 🧰
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up NodeJS 18 💎
|
- name: Set up NodeJS 20 💎
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
|
|
||||||
- name: Set up Python 3.11.4 🐍
|
- name: Set up Python 3.11.7 🐍
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.11.4"
|
python-version: "3.11.7"
|
||||||
|
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
uses: snok/install-poetry@v1
|
uses: snok/install-poetry@v1
|
||||||
|
|||||||
@@ -23,27 +23,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
|
||||||
- name: Set up Python 3.10.6 🐍
|
- name: Set up Python 3.11.7 🐍
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10.6"
|
python-version: "3.11.7"
|
||||||
|
|
||||||
- name: Upgrade SQLite 3 binary version to 3.42.0 🧑💻
|
|
||||||
run: >
|
|
||||||
cd /tmp &&
|
|
||||||
wget "https://www.sqlite.org/2023/sqlite-autoconf-3420000.tar.gz" &&
|
|
||||||
tar -xvzf sqlite-autoconf-3420000.tar.gz &&
|
|
||||||
cd /tmp/sqlite-autoconf-3420000 &&
|
|
||||||
./configure --prefix=/usr --disable-static CFLAGS="-g" CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
|
||||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
|
|
||||||
-DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_STMTVTAB -DSQLITE_MAX_VARIABLE_NUMBER=250000 \
|
|
||||||
-DSQLITE_MAX_EXPR_DEPTH=10000 -DSQLITE_ENABLE_MATH_FUNCTIONS" &&
|
|
||||||
make -j$(nproc) &&
|
|
||||||
sudo make install &&
|
|
||||||
sudo cp /usr/lib/libsqlite3.so /usr/lib/x86_64-linux-gnu/ &&
|
|
||||||
sudo cp /usr/lib/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/ &&
|
|
||||||
sudo cp /usr/lib/libsqlite3.so.0.8.6 /usr/lib/x86_64-linux-gnu/ &&
|
|
||||||
rm -r /tmp/sqlite-autoconf-3420000
|
|
||||||
|
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
uses: snok/install-poetry@v1
|
uses: snok/install-poetry@v1
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ on: push
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
copy-stub:
|
copy-stub:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
|
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Run linters
|
name: Run linters
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3 # Check out the repository first.
|
- uses: actions/checkout@v3 # Check out the repository first.
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
create_tag:
|
create_tag:
|
||||||
name: Tag a new version of the package
|
name: Tag a new version of the package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
outputs:
|
||||||
tag_name: ${{ steps.ready_tag.outputs.tag_name }}
|
tag_name: ${{ steps.ready_tag.outputs.tag_name }}
|
||||||
|
|
||||||
@@ -128,7 +128,7 @@ jobs:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
name: Release tagged artifact
|
name: Release tagged artifact
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: [create_tag, build]
|
needs: [create_tag, build]
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch package artifact ⬇️
|
- name: Fetch package artifact ⬇️
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
typecheck:
|
typecheck:
|
||||||
name: Run type checkers
|
name: Run type checkers
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3 # Check out the repository first.
|
- uses: actions/checkout@v3 # Check out the repository first.
|
||||||
@@ -17,10 +17,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
|
||||||
- name: Set up Python 3.10.6 🐍
|
- name: Set up Python 3.11.7 🐍
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10.6"
|
python-version: "3.11.7"
|
||||||
|
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
uses: snok/install-poetry@v1
|
uses: snok/install-poetry@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user