File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : CI for moebius on Ubuntu 22.04
1+ name : CI for moebius on Debian 13
22
33on :
44 push :
1111 - ' moebius/tests/**'
1212 - ' moebius/bench/**'
1313 - ' moebius/xmake.lua'
14- - ' .github/workflows/ci-moebius-ubuntu .yml'
14+ - ' .github/workflows/ci-moebius-debian13 .yml'
1515 pull_request :
1616 branches : [ main ]
1717 paths :
2222 - ' moebius/tests/**'
2323 - ' moebius/bench/**'
2424 - ' moebius/xmake.lua'
25- - ' .github/workflows/ci-moebius-ubuntu .yml'
25+ - ' .github/workflows/ci-moebius-debian13 .yml'
2626 workflow_dispatch :
2727
28+ env :
29+ XMAKE_ROOT : y
30+
2831jobs :
29- linuxbuild :
30- runs-on : ubuntu-22.04
32+ build :
33+ container : debian:13
34+ runs-on : ubuntu-latest
3135 steps :
3236 - name : Install dependencies
3337 run : |
34- sudo apt-get update
35- sudo apt-get install -y gcc cmake libcurl4-openssl-dev
36- # Force xmake to a specific folder (for cache)
38+ DEBIAN_FRONTEND=noninteractive apt-get update
39+ DEBIAN_FRONTEND=noninteractive apt-get install -y gcc git 7zip unzip curl build-essential \
40+ fonts-noto-cjk libcurl4-openssl-dev libfreetype-dev libfontconfig-dev \
41+ libmimalloc-dev libgit2-dev zlib1g-dev libssl-dev libjpeg62-turbo-dev cmake \
42+ pandoc xmake python3.13 python3.13-venv python3-pip ninja-build \
43+ libdbus-1-3 libglib2.0-0t64 libegl1 libgl-dev libxkbcommon0
3744 - name : Set xmake global dir
3845 run : |
3946 echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/.xmake-global" >> "${{ github.env }}"
40- - uses : xmake-io/github-action-setup-xmake@v1
41- with :
42- xmake-version : v2.8.7
4347 - name : update repo
4448 run : xmake repo -u
4549 - uses : actions/checkout@v3
5256 ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
5357 ${{ github.workspace }}/build/.build_cache
5458 key : ${{ runner.os }}-xmake-${{ hashFiles('**/xmake.lua') }}
55- # Force xmake to a specific folder (for cache)
5659 - name : config
5760 run : xmake config --yes -vD
5861 - name : build
Original file line number Diff line number Diff line change 1313- ` moebius/xmake.lua ` — moebius 子模块构建配置
1414- ` moebius/Data/History/commute.cpp ` — 从 ` src/Data/History/commute.cpp ` 迁移进 moebius
1515- ` src/Data/History/commute.cpp ` — 迁移后删除(内容不变)
16- - ` .github/workflows/ci-moebius-ubuntu .yml ` — moebius Ubuntu CI(新增)
16+ - ` .github/workflows/ci-moebius-debian13 .yml ` — moebius Debian 13 CI(新增)
1717- ` .github/workflows/ci-moebius-macos.yml ` — moebius macOS CI(新增)
1818- ` .github/workflows/ci-moebius-windows.yml ` — moebius Windows CI(新增)
1919- ` .github/workflows/ci-moebius-format-linter.yml ` — moebius 代码格式检查(新增)
You can’t perform that action at this time.
0 commit comments