forked from Mudlet/Mudlet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into Add_newFunction_moveRoom()
- Loading branch information
Showing
115 changed files
with
56,519 additions
and
37,816 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
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 |
---|---|---|
|
@@ -33,12 +33,13 @@ jobs: | |
# We still need a gcc for some sub-stages - and it ain't always the same one: | ||
gcc_compiler_version: 9 | ||
qt: '5.14.2' | ||
- os: macos-11 | ||
buildname: 'macos / c++ tests' | ||
- os: macos-12 | ||
buildname: 'macos / c++, lua tests' | ||
triplet: x64-osx | ||
compiler: clang_64 | ||
qt: '5.14.2' | ||
deploy: 'deploy' | ||
run_tests: 'true' | ||
# - os: windows-2019 | ||
# buildname: 'windows' | ||
# triplet: x64-mingw-dynamic | ||
|
@@ -48,8 +49,6 @@ jobs: | |
env: | ||
BOOST_ROOT: ${{github.workspace}}/3rdparty/boost | ||
BOOST_URL: https://sourceforge.net/projects/boost/files/boost/1.83.0/boost_1_83_0.tar.bz2/download | ||
# APP_BUILD embeds the git sha which changes on every commit, throwing the cache off - ignore it | ||
CCACHE_IGNOREOPTIONS: "-DAPP_BUILD=*" | ||
|
||
steps: | ||
- name: Checkout Mudlet source code | ||
|
@@ -76,7 +75,7 @@ jobs: | |
cache: true | ||
|
||
- name: Restore Boost cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
id: cache-boost | ||
with: | ||
path: ${{env.BOOST_ROOT}} | ||
|
@@ -159,7 +158,7 @@ jobs: | |
echo "LUA_CPATH=$LUA_CPATH" >> $GITHUB_ENV | ||
# Use latest available XCode | ||
echo "DEVELOPER_DIR=/Applications/Xcode_12.4.app/Contents/Developer" >> $GITHUB_ENV | ||
echo "DEVELOPER_DIR=/Applications/Xcode_14.2.app/Contents/Developer" >> $GITHUB_ENV | ||
# though we vcpkg installs Lua for us, the way it arranges directories is not compatible with Luarocks, | ||
# so install it in a format that works | ||
|
@@ -239,11 +238,12 @@ jobs: | |
echo "WITH_FONTS=no" >> $GITHUB_ENV | ||
- name: (Linux/macOS) restore ccache | ||
uses: pat-s/always-upload-cache@v3.0.11 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{runner.workspace}}/ccache | ||
key: ccache-${{matrix.os}}-${{matrix.compiler}}-${{matrix.qt}}-${{ github.sha }} | ||
restore-keys: ccache-${{matrix.os}}-${{matrix.compiler}}-${{matrix.qt}} | ||
save-always: true | ||
if: matrix.os != 'windows-latest' | ||
|
||
- name: (Linux) Set build info | ||
|
@@ -299,7 +299,7 @@ jobs: | |
run: ctest --output-on-failure | ||
|
||
- name: (Linux/macOS) restore Luarocks for packaging | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: $HOME/.luarocks | ||
key: ccache-${{matrix.os}}-${{matrix.compiler}}-${{hashFiles('.github/workflows/build-mudlet.yml')}} | ||
|
@@ -352,6 +352,7 @@ jobs: | |
env: | ||
BUILD_FOLDER: ${{runner.workspace}}/b/ninja | ||
RUNNER_OS: ${{runner.os}} | ||
X_WP_DOWNLOAD_TOKEN: ${{secrets.X_WP_DOWNLOAD_TOKEN}} | ||
DEPLOY: ${{matrix.deploy}} | ||
DBLSQD_USER: ${{secrets.DBLSQD_USER}} | ||
DBLSQD_PASS: ${{secrets.DBLSQD_PASS}} | ||
|
@@ -373,13 +374,22 @@ jobs: | |
shell: bash | ||
|
||
# we need to be in the right place for LuaGlobals.lua to load | ||
- name: Prep binary for running tests | ||
if: matrix.run_tests == 'true' | ||
- name: (Linux) Prep binary for running tests | ||
if: matrix.run_tests == 'true' && runner.os =='Linux' | ||
# macOS binary is in ${{runner.workspace}}/b/ninja/${{env.UPLOAD_FILENAME}}/Contents/MacOS | ||
run: cp ${{runner.workspace}}/b/ninja/src/mudlet ${{github.workspace}}/src | ||
shell: bash | ||
|
||
- name: Run Lua tests | ||
if: matrix.run_tests == 'true' | ||
- name: (macOS) Prep binary for running tests | ||
if: matrix.run_tests == 'true' && runner.os == 'macOS' | ||
run: | | ||
cp -r ${{runner.workspace}}/b/ninja/${{env.UPLOAD_FILENAME}}.app ~/Desktop | ||
cd ~/Desktop | ||
sudo codesign --remove-signature ${{env.UPLOAD_FILENAME}}.app | ||
shell: bash | ||
|
||
- name: (Linux) Run Lua tests | ||
if: matrix.run_tests == 'true' && runner.os == 'Linux' | ||
timeout-minutes: 5 | ||
uses: GabrielBB/[email protected] | ||
with: | ||
|
@@ -389,6 +399,16 @@ jobs: | |
TESTS_DIRECTORY: ${{github.workspace}}/src/mudlet-lua/tests | ||
QUIT_MUDLET_AFTER_TESTS: 'true' | ||
|
||
- name: (macOS) Run Lua tests | ||
if: matrix.run_tests == 'true' && runner.os == 'macOS' | ||
timeout-minutes: 5 | ||
shell: bash | ||
run: ~/Desktop/${{env.UPLOAD_FILENAME}}.app/Contents/MacOS/mudlet --profile "Mudlet self-test" --mirror | ||
env: | ||
AUTORUN_BUSTED_TESTS: 'true' | ||
TESTS_DIRECTORY: ${{github.workspace}}/src/mudlet-lua/tests | ||
QUIT_MUDLET_AFTER_TESTS: 'true' | ||
|
||
- name: Passed Lua tests | ||
if: matrix.run_tests == 'true' | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
yarn add xml-js --dev | ||
node CI/fix.grid.ui.ordering.js | ||
- name: Add & Commit | ||
uses: EndBug/[email protected].3 | ||
uses: EndBug/[email protected].4 | ||
with: | ||
message: "Standarize UI files" | ||
add: "src/ui" |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
This file is part of KDToolBox. | ||
SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
Author: Giuseppe D'Angelo <[email protected]> | ||
SPDX-License-Identifier: MIT | ||
|
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.