different method of installing qt in ci
This commit is contained in:
parent
bfac6497b9
commit
26c75df706
|
|
@ -11,24 +11,29 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout repository
|
||||||
name: Checkout repository
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install Arch Linux
|
|
||||||
run: curl -L https://github.com/zaoqi/github-actions-archlinux/raw/master/install.sh | sh
|
|
||||||
|
|
||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
run: sudo pacman --no-confirm -Syu \
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
base-devel \
|
with:
|
||||||
clang \
|
version: 2.0
|
||||||
cmake \
|
packages: >-
|
||||||
ninja \
|
clang
|
||||||
pugixml \
|
cmake
|
||||||
ogre \
|
ninja-build
|
||||||
qt6
|
libboost-dev
|
||||||
|
libogre-1.12-dev
|
||||||
|
libpugixml-dev
|
||||||
|
|
||||||
|
- name: Install Qt
|
||||||
|
uses: jurplel/install-qt-action@v3
|
||||||
|
with:
|
||||||
|
version: 6.5.*
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Generate Ninja build files
|
- name: Generate Ninja build files
|
||||||
run: cmake -G Ninja -B build -DCI=ON -DCMAKE_BUILD_TYPE=${{ matrix.configuration == 'Release' && 'MinSizeRel' || matrix.configuration }} .
|
run: cmake -G Ninja -B build -DCI=ON -DCMAKE_BUILD_TYPE=${{ matrix.configuration == 'Release' && 'MinSizeRel' || matrix.configuration }} .
|
||||||
|
|
||||||
|
|
@ -75,13 +80,13 @@ jobs:
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout repository
|
||||||
name: Checkout repository
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- uses: msys2/setup-msys2@v2
|
- name: Set up MSYS2 and install required packages
|
||||||
name: Set up MSYS2 and install required packages
|
uses: msys2/setup-msys2@v2
|
||||||
with:
|
with:
|
||||||
msystem: ${{ matrix.sys }}
|
msystem: ${{ matrix.sys }}
|
||||||
install: >-
|
install: >-
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue