Skip to content

Commit

Permalink
Work on CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Nov 9, 2024
1 parent ce6d06b commit 7046876
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/builds_desktop_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ jobs:
submodules: recursive

# Configure MSVC
#- name: Configure MSVC
# uses: ilammy/msvc-dev-cmd@v1
# with:
# arch: x86_64
- name: Configure MSVC
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86_64

# Install Qt
- name: Install Qt
Expand All @@ -160,8 +160,8 @@ jobs:
# Build application
- name: Build application
run: |
cmake -B build/ .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
cd build/
cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
nmake
# Deploy application
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/builds_mobile_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ jobs:
run: |
echo "QT_HOST_PATH=/home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/gcc_64" >> $GITHUB_ENV
echo "QT_TARGET_PATH=/home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/android_arm64_v8a" >> $GITHUB_ENV
cmake --version
qmake --version
# Build application
- name: Build application
Expand Down Expand Up @@ -177,7 +179,7 @@ jobs:
## iOS build #################################################################
build-ios:
name: "iOS CI build"
runs-on: macos-12
runs-on: macos-13
steps:
# Checkout repository (and submodules)
- name: Checkout repository (and submodules)
Expand All @@ -204,6 +206,8 @@ jobs:
run: |
echo "QT_HOST_PATH=/Users/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/macos" >> $GITHUB_ENV
echo "QT_TARGET_PATH=/Users/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/ios" >> $GITHUB_ENV
cmake --version
qmake --version
# Build application
- name: Build application
Expand Down Expand Up @@ -273,4 +277,3 @@ jobs:
continue-on-error: true
run: |
ls build/
ls build/Release-iphoneos
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ even more tighly coupled features and tooling requirements anyway.

```bash
$ git clone https://github.com/emericg/QmlAppTemplate.git --recursive
$ cd QmlAppTemplate/
$ cmake -B build/
$ cmake --build build/
```
Expand Down

0 comments on commit 7046876

Please sign in to comment.