Skip to content

Commit

Permalink
chore(ci): fix linux-static
Browse files Browse the repository at this point in the history
  • Loading branch information
alphagocc committed Mar 18, 2022
1 parent bdba762 commit 5c10821
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/linux-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
push:
# 忽略README.md
paths-ignore:
- 'README.md'
- 'LICENSE'
- 'BUILD.md'
- "README.md"
- "LICENSE"
- "BUILD.md"
# pull_request时触发workflow
pull_request:
# 忽略README.md
paths-ignore:
- 'README.md'
- 'LICENSE'
- 'BUILD.md'
- "README.md"
- "LICENSE"
- "BUILD.md"
release:
types: [published]

Expand All @@ -32,10 +32,10 @@ jobs:
echo "::set-output name=message::$(git log --format=%B -n 1 ${{ github.event.after }})"
linux:
strategy:
fail-fast: false
matrix:
build_type: [Release, RelWithDebInfo]
fail-fast: false
matrix:
build_type: [Release, RelWithDebInfo]

needs: check_commit_msg
if: ${{ !contains( needs.check_commit_msg.outputs.commit_message, 'NO_DEB') }}
name: Linux Static ${{ matrix.build_type }}
Expand All @@ -49,15 +49,16 @@ jobs:
- name: Checking out sources
uses: actions/checkout@v2
with:
submodules: 'recursive'
submodules: "recursive"
- name: Install build dependencies
run: |
sudo apt update
sudo apt install -y build-essential ninja-build cmake pkgconf bash
sudo apt install -y libgl1-mesa-dev libglu1-mesa-dev
sudo apt install -y libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-xinerama0-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt install -y libharfbuzz-dev libsm-dev libdrm-dev
- name: Install Qt
run : |
run: |
cd ..
wget https://github.com/Project-LemonLime/qt5ci/releases/latest/download/qt-5.15.3-kde-static-linux.tar.gz
tar -zxvf qt-5.15.3-kde-static-linux.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion makespec/BUILDVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
213
214

0 comments on commit 5c10821

Please sign in to comment.