-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Build Windows Arm64 CrossCompiled
- Loading branch information
Showing
4 changed files
with
13 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,9 +51,7 @@ jobs: | |
|
||
- uses: seanmiddleditch/gha-setup-ninja@v5 | ||
- uses: lukka/get-cmake@latest | ||
|
||
# - name: Set Up sccache | ||
# uses: mozilla-actions/[email protected] | ||
- uses: mozilla-actions/[email protected] | ||
|
||
- name: Install Qt for Android | ||
uses: ./.github/actions/qt-android | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
strategy: | ||
matrix: | ||
BuildType: [Release] | ||
Arch: [x64] # Arm64 | ||
Arch: [x64] | ||
|
||
defaults: | ||
run: | ||
|
@@ -74,8 +74,8 @@ jobs: | |
# - name: Install Gstreamer | ||
# run: choco install --no-progress gstreamer gstreamer-devel --version=${{ env.GST_VERSION }} | ||
|
||
# - name: Set Up sccache | ||
# uses: mozilla-actions/[email protected].5 | ||
- name: Set Up sccache | ||
uses: mozilla-actions/[email protected].7 | ||
|
||
- name: Set Up Cache | ||
uses: hendrikmuhs/ccache-action@main | ||
|
@@ -99,20 +99,6 @@ jobs: | |
modules: qtcharts qtlocation qtpositioning qtspeech qt5compat qtmultimedia qtserialport qtimageformats qtshadertools qtconnectivity qtquick3d qtsensors | ||
cache: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||
|
||
- name: Install Qt for Windows (Arm64) | ||
if: matrix.Arch == 'Arm64' | ||
uses: jurplel/install-qt-action@v4 | ||
with: | ||
version: ${{ env.QT_VERSION }} | ||
aqtversion: ==3.1.* | ||
host: windows | ||
target: desktop | ||
arch: win64_msvc2022_arm64 # _cross_compiled | ||
dir: ${{ runner.temp }} | ||
extra: --autodesktop | ||
modules: qtcharts qtlocation qtpositioning qtspeech qt5compat qtmultimedia qtserialport qtimageformats qtshadertools qtconnectivity qtquick3d qtsensors | ||
cache: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||
|
||
- name: Set up Visual Studio shell | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
|
@@ -122,24 +108,10 @@ jobs: | |
|
||
- name: Configure | ||
working-directory: ${{ runner.temp }}\shadow_build_dir | ||
run: ${{ env.QT_ROOT_DIR }}/bin/qt-cmake -S ${{ github.workspace }} -B . -G Ninja ^ | ||
-DCMAKE_BUILD_TYPE=${{ matrix.BuildType }} ^ | ||
run: ${{ env.QT_ROOT_DIR }}/bin/qt-cmake -S ${{ github.workspace }} -B . -G Ninja | ||
-DCMAKE_BUILD_TYPE=${{ matrix.BuildType }} | ||
-DQGC_STABLE_BUILD=${{ github.ref_type == 'tag' || contains(github.ref, 'Stable') && 'ON' || 'OFF' }} | ||
|
||
- name: Build | ||
working-directory: ${{ runner.temp }}\shadow_build_dir | ||
run: cmake --build . --target all --config ${{ matrix.BuildType }} | ||
|
||
# - name: Install | ||
# working-directory: ${{ runner.temp }}\shadow_build_dir | ||
# run: cmake --install . --config ${{ matrix.BuildType }} | ||
|
||
# - name: Upload Build File | ||
# if: matrix.BuildType == 'Release' | ||
# uses: ./.github/actions/upload | ||
# with: | ||
# artifact_name: ${{ env.ARTIFACT }} | ||
# aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
# aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
# source: '' | ||
# github_token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters