Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ on:

jobs:
linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5
- name: Install Debian Packages
run: |
sudo apt update
sudo apt install -y cmake flex libjson-glib-dev libxkbcommon-dev \
libegl1-mesa-dev libxml2-dev libxslt1-dev libyaml-dev llvm-dev \
libclang-dev libglib2.0-dev ninja-build
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.6'
python-version: '3.7'
- name: Python Package Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
Expand Down Expand Up @@ -88,15 +88,15 @@ jobs:
publish:
if: ${{ github.ref == 'refs/heads/master' }}
needs: linux
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Fetch Documentation
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: docs
path: html
- name: Deploy Documentation
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
Expand All @@ -107,13 +107,13 @@ jobs:
PYTHONIOENCODING: "utf-8"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.6'
python-version: '3.7'
- name: Setup MSVC
uses: seanmiddleditch/gha-setup-vsdevenv@v4
uses: seanmiddleditch/gha-setup-vsdevenv@v5
- name: Install Tools
run: |
choco install winflexbison3 ninja -y --no-progress --stop-on-first-failure
Expand All @@ -133,26 +133,26 @@ jobs:
run: |
ninja -C _build
analyze:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5
- name: Install Dependencies
run: |
curl -sL https://apt.llvm.org/llvm-snapshot.gpg.key | \
sudo apt-key add -
sudo add-apt-repository \
'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main'
'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main'
sudo apt update
sudo apt install -y flex libjson-glib-dev libxkbcommon-dev \
libegl1-mesa-dev libxml2-dev libxslt1-dev libyaml-dev llvm-14-dev \
libclang-14-dev libglib2.0-dev ninja-build clang-tools-14
libegl1-mesa-dev libxml2-dev libxslt1-dev libyaml-dev llvm-dev \
libclang-dev libglib2.0-dev ninja-build clang-tools
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.6'
python-version: '3.7'
- name: Python Package Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request]

jobs:
check:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout Head
uses: actions/checkout@v3
Expand All @@ -17,9 +17,9 @@ jobs:
curl -sL https://apt.llvm.org/llvm-snapshot.gpg.key | \
sudo apt-key add -
sudo add-apt-repository \
'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main'
'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main'
sudo apt update
sudo apt install -y clang-format-13 diffutils
sudo apt install -y clang-format diffutils
- name: Check
run: |
scripts/check-style -ocode-style.diff origin/master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
format-cmake:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
Loading