Skip to content

Commit

Permalink
Added branch to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
VSRonin committed Mar 6, 2024
1 parent fbde025 commit f90aa24
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- master
- dev
- bugfix
- ci_admin
paths-ignore:
- '.travis.yml'
- 'docs/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- master
- dev
- bugfix
- ci_admin
paths-ignore:
- '.travis.yml'
- '.appveyor.yml'
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
- "*"
jobs:
release:
name: ${{ matrix.platforms.friendly_name }} Qt ${{ matrix.qt_ver }} Release
name: ${{ matrix.platforms.friendly_name }} Qt ${{ matrix.qt_version.qt_ver }} Release
runs-on: ${{ matrix.platforms.os }}
strategy:
max-parallel: 1
matrix:
qt_ver: [5.15.2,6.5.3]
qt_version:
- { qt_ver: 5.15.2, mingw_arch: win64_mingw81 }
- { qt_ver: 6.5.3, mingw_arch: win64_mingw }
platforms:
- { os: windows-latest, generator: "NMake Makefiles", debug_postfix: d, compression: ZIP, friendly_name: MSVC }
- { os: windows-latest, generator: "MinGW Makefiles", debug_postfix: d, compression: ZIP, friendly_name: MinGW }
Expand All @@ -21,13 +23,13 @@ jobs:
if: ${{ matrix.platforms.friendly_name != 'MinGW' }}
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_ver }}
version: ${{ matrix.qt_version.qt_ver }}
- name: Install Qt MinGW
if: ${{ matrix.platforms.friendly_name == 'MinGW' }}
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_ver }}
arch: win64_mingw81
version: ${{ matrix.qt_version.qt_ver }}
arch: ${{ matrix.qt_version.mingw_arch }}
- name: Git Checkout
uses: actions/checkout@v4
with:
Expand All @@ -48,7 +50,7 @@ jobs:
run: |
sudo apt-get update -y
sudo apt-get install libxcb-icccm4 libxcb-xkb1 libxcb-icccm4 libxcb-image0 libxcb-render-util0 libxcb-randr0 libxcb-keysyms1 libxcb-xinerama0 libxcb-xinput-dev
- name: Build Debug ${{ matrix.platforms.friendly_name }} Qt ${{ matrix.qt_ver }}
- name: Build Debug ${{ matrix.platforms.friendly_name }} Qt ${{ matrix.qt_version.qt_ver }}
if: ${{ runner.os != 'Linux' }}
run: |
cd build/shared-Debug
Expand All @@ -57,7 +59,7 @@ jobs:
cd ../static-Debug
cmake -G"${{ matrix.platforms.generator }}" -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_STATIC_LIBRARY_SUFFIX=_static -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_DEBUG_POSTFIX=${{ matrix.platforms.debug_postfix }} -DCMAKE_INSTALL_PREFIX="../installed" ../../
cmake --build .
- name: Build Release ${{ matrix.platforms.friendly_name }} Qt ${{ matrix.qt_ver }}
- name: Build Release ${{ matrix.platforms.friendly_name }} Qt ${{ matrix.qt_version.qt_ver }}
run: |
cd build/shared-Release
cmake -G"${{ matrix.platforms.generator }}" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX="../installed" ../../
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ubuntuLTS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- master
- dev
- bugfix
- ci_admin
paths-ignore:
- '.travis.yml'
- 'docs/**'
Expand Down

0 comments on commit f90aa24

Please sign in to comment.