-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
563 additions
and
44 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 |
---|---|---|
|
@@ -4,6 +4,9 @@ inputs: | |
host: | ||
description: Host | ||
required: true | ||
arch: | ||
description: Arch | ||
required: true | ||
version: | ||
description: Qt Version | ||
required: false | ||
|
@@ -28,10 +31,6 @@ runs: | |
packages: 'platform-tools platforms;android-34 build-tools;34.0.0' # ndk;25.1.8937393' | ||
log-accepted-android-sdk-licenses: false | ||
|
||
- name: Update Android SDK / NDK / Tools | ||
run: sdkmanager --update | ||
shell: bash | ||
|
||
- name: Install Android NDK | ||
uses: nttld/setup-ndk@v1 | ||
id: setup-ndk | ||
|
@@ -45,10 +44,15 @@ runs: | |
echo "ANDROID_NDK=${{ steps.setup-ndk.outputs.ndk-path }}" >> "$GITHUB_ENV" | ||
shell: bash | ||
- name: Update Android SDK / NDK / Tools | ||
if: ${{ runner.os != 'Windows' }} | ||
run: sdkmanager --update | ||
shell: bash | ||
|
||
- name: Set Up Cache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
create-symlink: true | ||
create-symlink: ${{ runner.os != 'Windows' }} | ||
key: ${{ runner.os }}-Android-${{ matrix.BuildType }} | ||
restore-keys: ${{ runner.os }}-Android-${{ matrix.BuildType }} | ||
max-size: 1G | ||
|
@@ -62,6 +66,7 @@ runs: | |
aqtversion: ==3.1.* | ||
host: ${{ inputs.host }} | ||
target: desktop | ||
arch: ${{ inputs.arch }} | ||
dir: ${{ runner.temp }} | ||
modules: qtcharts qtlocation qtpositioning qtspeech qt5compat qtmultimedia qtserialport qtimageformats qtshadertools qtconnectivity qtquick3d qtsensors | ||
cache: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||
|
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
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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
BuildType: [Debug, Release] | ||
BuildType: [Release] | ||
|
||
defaults: | ||
run: | ||
|
@@ -21,13 +21,32 @@ jobs: | |
GST_VERSION: 1.22.12 | ||
|
||
steps: | ||
- name: Recover disk space | ||
run: | | ||
df -h | ||
ls /Applications | ||
brew uninstall google-chrome | ||
sudo rm -rf /Users/runner/Library/Android | ||
sudo rm -rf /Applications/Xcode_14* | ||
sudo rm -rf /Applications/Xcode_15.0* | ||
sudo rm -rf /Applications/Xcode_15.1* | ||
sudo rm -rf /Applications/Xcode_15.2* | ||
sudo rm -rf /Applications/Xcode_15.3* | ||
ls /Applications | ||
df -h | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-tags: true | ||
fetch-depth: 0 | ||
|
||
- name: Setup Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
|
||
- uses: seanmiddleditch/gha-setup-ninja@v5 | ||
|
||
- name: Install Dependencies | ||
|
@@ -38,8 +57,8 @@ jobs: | |
- name: Set Up Cache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ runner.os }}-${{ matrix.BuildType }} | ||
restore-keys: ${{ runner.os }}-${{ matrix.BuildType }} | ||
key: ${{ runner.os }}-iOS-${{ matrix.BuildType }} | ||
restore-keys: ${{ runner.os }}-iOS-${{ matrix.BuildType }} | ||
max-size: 1G | ||
append-timestamp: false | ||
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||
|
@@ -51,6 +70,7 @@ jobs: | |
aqtversion: ==3.1.* | ||
host: mac | ||
target: desktop | ||
arch: clang_64 | ||
dir: ${{ runner.temp }} | ||
modules: qtcharts qtlocation qtpositioning qtspeech qt5compat qtmultimedia qtserialport qtimageformats qtshadertools qtconnectivity qtquick3d qtsensors | ||
cache: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||
|
@@ -62,12 +82,13 @@ jobs: | |
aqtversion: ==3.1.* | ||
host: mac | ||
target: ios | ||
arch: ios | ||
dir: ${{ runner.temp }} | ||
extra: --autodesktop | ||
modules: qtcharts qtlocation qtpositioning qtspeech qt5compat qtmultimedia qtimageformats qtshadertools qtconnectivity qtquick3d qtsensors | ||
cache: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||
|
||
- run: mkdir ${{ runner.temp }}/shadow_build_dir | ||
- run: mkdir ${{ runner.temp }}/shadow_build_dir | ||
|
||
- name: Configure | ||
working-directory: ${{ runner.temp }}/shadow_build_dir | ||
|
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
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
Oops, something went wrong.