Skip to content

Commit

Permalink
Try circle ci 23
Browse files Browse the repository at this point in the history
  • Loading branch information
raub committed Nov 22, 2024
1 parent ff50df7 commit 29f477d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- run: cd ~ && python -m aqt install-qt --outputdir ~/Qt linux_arm64 desktop 6.8.0 linux_gcc_arm64
- checkout
- run: mkdir -p ~/artifacts
- run: node -p "'version='+require('./package').version" > ~/artifacts/pkg-version
- run: node -p "require('./package').version" > ~/artifacts/pkg-version
- run: chmod +x src/qt-mkdir.sh && src/qt-mkdir.sh ~/qt_tmp
- run: chmod +x src/qt-copy-linux.sh && src/qt-copy-linux.sh ~/qt_tmp ~/Qt/6.8.0/gcc_arm64
- run: cd ~/qt_tmp && tar -czf ../aarch64.gz *
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@ jobs:
chmod +x src/qt-copy-linux.sh
src/qt-copy-linux.sh ${{ env.QT_TMP }} ${{ github.workspace }}/../Qt/6.8.0/gcc_64
- name: Copy Qt Dir - Linux ARM
if: matrix.os != 'ubuntu-22.04' && matrix.os != 'macos-14' && matrix.os != 'windows-2022'
run: |
echo "OS_NAME=aarch64" >> $GITHUB_ENV
chmod +x src/qt-copy-linux.sh
src/qt-copy-linux.sh ${{ env.QT_TMP }} /home/opc/6.8.0/gcc_arm64
- name: Copy Qt Dir - MacOS ARM
if: matrix.os == 'macos-14'
run: |
Expand Down
32 changes: 16 additions & 16 deletions src/qt-copy-linux.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# $1 is tmp path - ${{ github.workspace }}/../__tmp
# $2 is Qt platform path - /home/opc/6.8.0/gcc_arm64
# $2 is Qt platform path - e.g.: ~/Qt/6.8.0/gcc_arm64

# QML
cp $2/lib/libQt6QmlMeta.so.6 $1/libQt6QmlMeta.so.6
cp $2/lib/libQt6Qml.so.6 $1/libQt6Qml.so.6
cp $2/lib/libQt6QmlMeta.so.6 $1/libQt6QmlMeta.so.6
cp $2/lib/libQt6Quick.so.6 $1/libQt6Quick.so.6
cp $2/lib/libQt6QuickControls2.so.6 $1/libQt6QuickControls2.so.6
cp $2/lib/libQt6QuickTemplates2.so.6 $1/libQt6QuickTemplates2.so.6
cp $2/lib/libQt6QuickWidgets.so.6 $1/libQt6QuickWidgets.so.6

cp $2/lib/libQt6QuickVectorImage.so.6 $1/qml/libQt6QuickVectorImage.so.6
cp $2/lib/libQt6QmlCompiler.so.6 $1/qml/libQt6QmlCompiler.so.6
cp $2/lib/libQt6QmlCore.so.6 $1/qml/libQt6QmlCore.so.6
cp $2/lib/libQt6QuickControls2Basic.so.6 $1/qml/libQt6QuickControls2Basic.so.6
cp $2/lib/libQt6QuickControls2Impl.so.6 $1/qml/libQt6QuickControls2Impl.so.6
cp $2/lib/libQt6QuickDialogs2.so.6 $1/qml/libQt6QuickDialogs2.so.6
cp $2/lib/libQt6QuickDialogs2QuickImpl.so.6 $1/qml/libQt6QuickDialogs2QuickImpl.so.6
cp $2/lib/libQt6QuickDialogs2Utils.so.6 $1/qml/libQt6QuickDialogs2Utils.so.6
cp $2/lib/libQt6QuickEffects.so.6 $1/qml/libQt6QuickEffects.so.6
cp $2/lib/libQt6QuickLayouts.so.6 $1/qml/libQt6QuickLayouts.so.6
cp $2/lib/libQt6QuickParticles.so.6 $1/qml/libQt6QuickParticles.so.6
cp $2/lib/libQt6QuickShapes.so.6 $1/qml/libQt6QuickShapes.so.6
cp $2/lib/libQt6QmlWorkerScript.so.6 $1/qml/libQt6QmlWorkerScript.so.6
cp $2/lib/libQt6QmlModels.so.6 $1/qml/libQt6QmlModels.so.6
cp $2/lib/libQt6QuickVectorImage.so.6 $1/libQt6QuickVectorImage.so.6
cp $2/lib/libQt6QmlCompiler.so.6 $1/libQt6QmlCompiler.so.6
cp $2/lib/libQt6QmlCore.so.6 $1/libQt6QmlCore.so.6
cp $2/lib/libQt6QuickControls2Basic.so.6 $1/libQt6QuickControls2Basic.so.6
cp $2/lib/libQt6QuickControls2Impl.so.6 $1/libQt6QuickControls2Impl.so.6
cp $2/lib/libQt6QuickDialogs2.so.6 $1/libQt6QuickDialogs2.so.6
cp $2/lib/libQt6QuickDialogs2QuickImpl.so.6 $1/libQt6QuickDialogs2QuickImpl.so.6
cp $2/lib/libQt6QuickDialogs2Utils.so.6 $1/libQt6QuickDialogs2Utils.so.6
cp $2/lib/libQt6QuickEffects.so.6 $1/libQt6QuickEffects.so.6
cp $2/lib/libQt6QuickLayouts.so.6 $1/libQt6QuickLayouts.so.6
cp $2/lib/libQt6QuickParticles.so.6 $1/libQt6QuickParticles.so.6
cp $2/lib/libQt6QuickShapes.so.6 $1/libQt6QuickShapes.so.6
cp $2/lib/libQt6QmlWorkerScript.so.6 $1/libQt6QmlWorkerScript.so.6
cp $2/lib/libQt6QmlModels.so.6 $1/libQt6QmlModels.so.6

cp $2/plugins/qmltooling/libqmldbg_debugger.so $1/plugins/qmltooling/libqmldbg_debugger.so
cp $2/plugins/qmltooling/libqmldbg_inspector.so $1/plugins/qmltooling/libqmldbg_inspector.so
Expand Down
2 changes: 1 addition & 1 deletion src/qt-copy-macos.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# $1 is tmp path - ${{ github.workspace }}/../__tmp
# $2 is Qt platform path - /home/opc/6.8.0/gcc_arm64
# $2 is Qt platform path - e.g.: ~/Qt/6.8.0/macos

# QML
mkdir -p $1/QtQml.framework
Expand Down
2 changes: 1 addition & 1 deletion src/qt-copy-windows.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# $1 is tmp path - ${{ github.workspace }}/../__tmp
# $2 is Qt platform path - /home/opc/6.8.0/gcc_arm64
# $2 is Qt platform path - e.g.: ~/Qt/6.8.0/msvc2022_64

# QML
cp $2/bin/Qt6Qml.dll $1/Qt6Qml.dll
Expand Down

0 comments on commit 29f477d

Please sign in to comment.