Skip to content

Commit

Permalink
Finalize Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kebekus committed Nov 16, 2023
1 parent 53daefd commit a2bec15
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,29 @@ jobs:
- name: Install Qt for Desktop
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
cache-key-prefix: 'install-qt-action-host'
version: '6.*.*'
- name: Set QT_HOST_PATH
run: |
echo QT_HOST_PATH=$Qt6_DIR >> $GITHUB_ENV
- name: Install Qt for Android
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
cache-key-prefix: 'install-qt-action-android'
target: 'android'
version: '6.*.*'
arch: 'android_arm64_v8a'
- name: Install Additional Software
run: |
sudo apt install doxygen graphviz librsvg2-bin
echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "platforms;android-33" "platform-tools" "build-tools;33.0.2"
echo ANDROID_NDK_ROOT=$ANDROID_SDK_ROOT/ndk/25.1.8937393 >> $GITHUB_ENV
- name: Remove Unwanted Software
run: |
echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --uninstall "platforms;android-33-ext4" "platforms;android-33-ext5" "platforms;android-34-ext8"
echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "ndk;25.1.8937393"
echo ANDROID_NDK_ROOT=$ANDROID_SDK_ROOT/ndk/25.1.8937393 >> $GITHUB_ENV
- name: Configure
run: |
cmake -E make_directory build
Expand All @@ -41,11 +47,11 @@ jobs:
run: |
cmake --build build
cmake --build build --target apk
cp build/src/android-build/build/outputs/apk/debug/android-build-debug.apk addTimes-android.apk
cp build/src/android-build/build/outputs/apk/debug/android-build-debug.apk addTimes-android-arm64v8a.apk
- uses: pyTooling/Actions/releaser@r0
with:
tag: developerBuilds
rm: true
token: ${{ secrets.GITHUB_TOKEN }}
files: |
addTimes-android.apk
addTimes-android-arm64v8a.apk
4 changes: 2 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
- name: Install Qt for Desktop
uses: jurplel/install-qt-action@v3
with:
version: '6.5.*'
version: '6.*.*'
- name: Set QT_HOST_PATH
run: |
echo QT_HOST_PATH=$Qt6_DIR >> $GITHUB_ENV
- name: Install Qt for iOS
uses: jurplel/install-qt-action@v3
with:
target: 'ios'
version: '6.5.*'
version: '6.*.*'
- name: Setup env
run: |
export PATH=$Qt6_DIR/bin:$PATH
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
version: '6.*.*'
- name: Install LinuxDeploy
uses: miurahr/install-linuxdeploy-action@v1
with:
plugins: appimage
- name: Install Additional Software
run: |
sudo apt install appstream fuse
sudo apt install appstream fuse libxcb-cursor0
- name: Configure
run: |
cmake -E make_directory build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Compile on Windows

on:
push:
branches: [ feature/actions ]
branches: [ feature/xxxactions ]

jobs:
build:
Expand Down

0 comments on commit a2bec15

Please sign in to comment.