Skip to content

Commit

Permalink
[NOBIN] Updated AppVeyor: build with Qt6 on MacOS, Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Sep 14, 2024
1 parent 5f0b7d9 commit c419771
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@ environment:
buildConfig: $(CONFIGURATION)
buildPlatform: $(PLATFORM)

for:
for:
-
matrix:
only:
- image: Ubuntu2204

install:
- git submodule update --init --recursive
- export PATH="$HOME/Qt/5.15.2/gcc_64/bin:$PATH"
- export PATH="$HOME/Qt/6.7.2/gcc_64/bin:$PATH"

before_build:
- cmake --version

build_script:
- ./build_qt5.sh
- ./build_qt6.sh

after_build:
- ls
- cd build_qt5
- cd build_qt6
- tar -czvf ../PE-bear.tar.gz bin/PE-bear
- cd ..

Expand All @@ -61,10 +61,9 @@ for:
only:
- image: macOS


install:
- git submodule update --init --recursive
- export PATH="$HOME/Qt/5.15.2/clang_64/bin:$PATH"
- export PATH="$HOME/Qt/6.6.1/macos/bin:$PATH"
- export LDFLAGS="-L/usr/local/opt/qt/lib"
- export CPPFLAGS="-I/usr/local/opt/qt/include"
- export PKG_CONFIG_PATH="/usr/local/opt/qt/lib/pkgconfig"
Expand All @@ -81,7 +80,7 @@ for:

artifacts:
- path: PE-bear.app.zip

-
matrix:
only:
Expand Down
4 changes: 2 additions & 2 deletions macos_wrap.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ if [[ -z $MCDEPLOY ]]; then
fi
fi

APP_PATH="./build_qt5/pe-bear/"
APP_PATH="./build_qt6/pe-bear/"
# clean the previous build
rm -rf $APP_PATH/PE-bear.app

#build stuff
./build_qt5.sh
./build_qt6.sh

#strip the created build
strip $APP_PATH/PE-bear.app/Contents/MacOS/PE-bear
Expand Down

0 comments on commit c419771

Please sign in to comment.