Skip to content

Commit

Permalink
updated actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
treefrogframework committed Nov 27, 2024
1 parent ca740b3 commit 553e467
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 14 deletions.
46 changes: 32 additions & 14 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,19 @@ jobs:
sudo service redis-server start
sudo service memcached start
- name: testall.sh
working-directory: src/test
run: |
$GITHUB_WORKSPACE/src/test/testall.sh
./testall.sh
- name: tmaketest
working-directory: cd tools/tmake/test
run: |
cd $GITHUB_WORKSPACE/tools/tmake/test
qmake tmaketest.pro
make -j4
./tmaketest.sh
- name: releasetest
working-directory: tools/test/releasetest
run: |
$GITHUB_WORKSPACE/tools/test/releasetest/releasetest
./releasetest
build-ubuntu-sharedlink:
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -101,17 +103,19 @@ jobs:
sudo service redis-server start
sudo service memcached start
- name: testall.sh
working-directory: src/test
run: |
$GITHUB_WORKSPACE/src/test/testall.sh
./testall.sh
- name: tmaketest
working-directory: tools/tmake/test
run: |
cd $GITHUB_WORKSPACE/tools/tmake/test
qmake tmaketest.pro
make -j4
./tmaketest.sh
- name: releasetest
working-directory: tools/test/releasetest
run: |
$GITHUB_WORKSPACE/tools/test/releasetest/releasetest
./releasetest
build-ubuntu22:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -154,17 +158,19 @@ jobs:
sudo service redis-server start
sudo service memcached start
- name: testall.sh
working-directory: src/test
run: |
$GITHUB_WORKSPACE/src/test/testall.sh
./testall.sh
- name: tmaketest
working-directory: tools/tmake/test
run: |
cd $GITHUB_WORKSPACE/tools/tmake/test
qmake tmaketest.pro
make -j4
./tmaketest.sh
- name: releasetest
working-directory: tools/test/releasetest
run: |
$GITHUB_WORKSPACE/tools/test/releasetest/releasetest
./releasetest
build-macos:
runs-on: macos-latest
Expand Down Expand Up @@ -196,6 +202,16 @@ jobs:
run: |
treefrog -v
tspawn --show-drivers
- name: tmaketest
working-directory: tools/tmake/test
run: |
qmake tmaketest.pro
make -j4
./tmaketest.sh
- name: releasetest
working-directory: tools/test/releasetest
run: |
./releasetest
build-macos-sharedlink:
runs-on: macos-latest
Expand Down Expand Up @@ -233,11 +249,13 @@ jobs:
brew services start redis
brew services start memcached
- name: testall.sh
working-directory: src/test
run: |
$GITHUB_WORKSPACE/src/test/testall.sh
./testall.sh
- name: releasetest
working-directory: tools/test/releasetest
run: |
$GITHUB_WORKSPACE/tools/test/releasetest/releasetest
./releasetest
build-windows-qt68-msvc2022:
runs-on: windows-latest
Expand Down Expand Up @@ -274,8 +292,8 @@ jobs:
nmake install
- name: Module test
shell: cmd
working-directory: src/test
run: |
cd src/test
call testall.bat
- name: Release build
shell: cmd
Expand Down Expand Up @@ -326,8 +344,8 @@ jobs:
nmake install
- name: Module test
shell: cmd
working-directory: src/test
run: |
cd src/test
call testall.bat
- name: Release build
shell: cmd
Expand Down Expand Up @@ -379,8 +397,8 @@ jobs:
nmake install
- name: Module test
shell: cmd
working-directory: src/test
run: |
cd src/test
call testall.bat
- name: Release build
shell: cmd
Expand Down
2 changes: 2 additions & 0 deletions tools/tmake/otamaconverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ QString OtamaConverter::convertToErb(const QString &html, const QString &otm, in
val = otmParser.getSrcCode(label, OtmParser::ContentAssignment, &ech); // ~ operator
if (!val.isEmpty()) {
htmlParser.removeChildElements(i);
e = htmlParser.at(i);
e.text = generateErbPhrase(val, ech);
} else {
QStringList vals = otmParser.getWrapSrcCode(label, OtmParser::ContentAssignment);
Expand Down Expand Up @@ -236,6 +237,7 @@ QString OtamaConverter::convertToErb(const QString &html, const QString &otm, in
if (!val.isEmpty()) {
// Sets the variable
htmlParser.removeElementTree(i);
e = htmlParser.at(i);
e.text = generateErbPhrase(val, ech);
} else {
QStringList vals = otmParser.getWrapSrcCode(label, OtmParser::TagReplacement);
Expand Down

0 comments on commit 553e467

Please sign in to comment.