parent
eca9d2ecbf
commit
2fc9b51053
|
@ -369,7 +369,7 @@ jobs:
|
|||
|
||||
macos_x86_64:
|
||||
name: macOS x86_64
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-12
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
@ -10,7 +10,6 @@ jobs:
|
|||
matrix:
|
||||
lua_addon: ["y", "n"]
|
||||
sdcc: ["y", "n"]
|
||||
vcs: ["y", "n"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -28,8 +27,8 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
name="redpanda-cpp-${{ matrix.lua_addon }}-${{ matrix.sdcc }}-${{ matrix.vcs }}"
|
||||
xmake f --qt=/usr --prefix=/ --lua-addon=${{ matrix.lua_addon }} --sdcc=${{ matrix.sdcc }} --vcs=${{ matrix.vcs }}
|
||||
name="redpanda-cpp-${{ matrix.lua_addon }}-${{ matrix.sdcc }}"
|
||||
xmake f --qt=/usr --prefix=/ --lua-addon=${{ matrix.lua_addon }} --sdcc=${{ matrix.sdcc }}
|
||||
xmake b
|
||||
xmake i -o "pkg/$name"
|
||||
tar -cf "pkg/$name.tar" -C pkg "$name"
|
||||
|
@ -37,7 +36,7 @@ jobs:
|
|||
- name: Upload
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Ubuntu 22.04 - lua-addon=${{ matrix.lua_addon }}, sdcc=${{ matrix.sdcc }}, vcs=${{ matrix.vcs }}
|
||||
name: Ubuntu 22.04 - lua-addon=${{ matrix.lua_addon }}, sdcc=${{ matrix.sdcc }}
|
||||
path: pkg/*.tar
|
||||
|
||||
windows_msvc_x64:
|
||||
|
@ -47,7 +46,6 @@ jobs:
|
|||
matrix:
|
||||
lua_addon: ["y", "n"]
|
||||
sdcc: ["y", "n"]
|
||||
vcs: ["y", "n"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -69,8 +67,8 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
$install_dir = "pkg/redpanda-cpp-${{ matrix.lua_addon }}-${{ matrix.sdcc }}-${{ matrix.vcs }}"
|
||||
xmake f -p windows -a x64 --qt="${env:QT_ROOT_DIR}" --lua-addon=${{ matrix.lua_addon }} --sdcc=${{ matrix.sdcc }} --vcs=${{ matrix.vcs }}
|
||||
$install_dir = "pkg/redpanda-cpp-${{ matrix.lua_addon }}-${{ matrix.sdcc }}"
|
||||
xmake f -p windows -a x64 --qt="${env:QT_ROOT_DIR}" --lua-addon=${{ matrix.lua_addon }} --sdcc=${{ matrix.sdcc }}
|
||||
xmake b
|
||||
xmake i -o $install_dir
|
||||
mv $install_dir/bin/* $install_dir/
|
||||
|
@ -80,5 +78,5 @@ jobs:
|
|||
- name: Upload
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Windows MSVC x64 - lua-addon=${{ matrix.lua_addon }}, sdcc=${{ matrix.sdcc }}, vcs=${{ matrix.vcs }}
|
||||
name: Windows MSVC x64 - lua-addon=${{ matrix.lua_addon }}, sdcc=${{ matrix.sdcc }}
|
||||
path: pkg/*
|
||||
|
|
|
@ -612,10 +612,7 @@ RESOURCES += colorscheme_files
|
|||
|
||||
macos: {
|
||||
# Add needed executables into the main app bundle
|
||||
bundled_executable.files = \
|
||||
$$OUT_PWD/../tools/astyle/astyle \
|
||||
$$OUT_PWD/../tools/consolepauser/consolepauser \
|
||||
$$OUT_PWD/../tools/redpanda-git-askpass/redpanda-git-askpass.app/Contents/MacOS/redpanda-git-askpass
|
||||
bundled_executable.files = $$OUT_PWD/../tools/consolepauser/consolepauser
|
||||
bundled_executable.path = Contents/MacOS
|
||||
|
||||
# Also bundled templates
|
||||
|
|
|
@ -144,6 +144,7 @@ target("RedPandaIDE")
|
|||
"settingsdialog/executorgeneralwidget",
|
||||
"settingsdialog/executorproblemsetwidget",
|
||||
"settingsdialog/formattergeneralwidget",
|
||||
"settingsdialog/formatterpathwidget",
|
||||
"settingsdialog/languageasmgenerationwidget",
|
||||
"settingsdialog/projectcompileparamaterswidget",
|
||||
"settingsdialog/projectcompilerwidget",
|
||||
|
@ -188,9 +189,6 @@ target("RedPandaIDE")
|
|||
add_ui_classes(
|
||||
"settingsdialog/environmentfileassociationwidget",
|
||||
"settingsdialog/projectversioninfowidget")
|
||||
else
|
||||
add_ui_classes(
|
||||
"settingsdialog/formatterpathwidget")
|
||||
end
|
||||
|
||||
if has_config("lua-addon") then
|
||||
|
|
|
@ -25,8 +25,6 @@ make LINUX_STATIC_IME_PLUGIN=ON -j$(nproc)
|
|||
|
||||
# install RedPanda C++ to AppDir
|
||||
make INSTALL_ROOT=/RedPandaIDE.AppDir install
|
||||
# remove unnecessary, huge files
|
||||
rm /RedPandaIDE.AppDir/usr/libexec/RedPandaCPP/redpanda-git-askpass
|
||||
|
||||
# setup AppImage resource
|
||||
cd /RedPandaIDE.AppDir
|
||||
|
|
|
@ -12,5 +12,3 @@ make LINUX_STATIC_IME_PLUGIN=ON -j$(nproc)
|
|||
|
||||
# install RedPanda C++ to AppDir
|
||||
make INSTALL_ROOT=/out install
|
||||
# remove unnecessary, huge files
|
||||
rm /out/usr/libexec/RedPandaCPP/redpanda-git-askpass
|
||||
|
|
Loading…
Reference in New Issue