chore(CI): add ubuntu 26.04 build

This commit is contained in:
2026-09-26 09:47:01 +08:00
committed by yyc12345
parent 85cb638be9
commit b35d6712f4
+30
View File
@@ -32,3 +32,33 @@ jobs:
with:
name: ubuntu-24.04-deb-package
path: build/*.deb
ubuntu-26-04-build:
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install MetaGlot
run: uv tool install git+https://github.com/SarasasChipWorkshop/metaglot.git
- name: Get build dept.
run: |
sudo apt update
sudo apt install cmake qt6-base-dev qt6-svg-dev qt6-tools-dev libexiv2-dev
- name: Build it
run: |
mkdir build
cd build
cmake ../
make
cpack -G DEB
- name: Try install it
run: |
cd build
sudo apt install ./*.deb
- uses: actions/upload-artifact@v6
with:
name: ubuntu-26.04-deb-package
path: build/*.deb