Skip to content

Commit

Permalink
Install fontconfig and freetype in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JJL772 committed Jan 1, 2025
1 parent 9511862 commit 438e123
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ninja-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ on:
name: Manual Release
jobs:
manual_release:
runs-on: ubuntu-latest
container:
image: scell555/chaos-cas-steamrt:latest
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
Expand All @@ -17,14 +15,14 @@ jobs:
- name: Install XCB packages
run: |
apt-get update
apt-get install -y --no-install-recommends libxkbcommon-x11-dev libxcb-cursor-dev libxcb-icccm4-dev libxcb-keysyms1-dev
apt-get install -y --no-install-recommends libfontconfig-dev libfreetype-dev libxkbcommon-x11-dev libxcb-cursor-dev libxcb-icccm4-dev libxcb-keysyms1-dev '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev
- name: Prepare build dirs
run: |
mkdir build
mkdir build-cross
- name: Configure Linux
working-directory: build
run: CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -DQT_BUILD_TESTS=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/opt/qt6 ..
run: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -DQT_BUILD_TESTS=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/opt/qt6 -DFEATURE_xcb=ON ..
- name: Build Linux
working-directory: build
run: |
Expand Down Expand Up @@ -55,7 +53,7 @@ jobs:
tar cf qt6.tar /opt/qt6
gzip qt6.tar
- name: Build upload
uses: actions/upload-artifact@v2.3.1
uses: actions/upload-artifact@v4
with:
name: build_${{ github.sha }}
path: /opt/qt6.tar.gz
Expand Down

0 comments on commit 438e123

Please sign in to comment.