Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions .github/workflows/ci-debian13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- "!src/Plugins/Windows/**"
- "tests/**"
- "lolly/**"
- "moebius/**"
- "xmake.lua"
- "xmake/packages.lua"
- "xmake/packages/**"
Expand All @@ -22,6 +23,7 @@ on:
- "!src/Plugins/Windows/**"
- "tests/**"
- "lolly/**"
- "moebius/**"
- "xmake.lua"
- "xmake/packages.lua"
- "xmake/packages/**"
Expand Down Expand Up @@ -97,6 +99,19 @@ jobs:
- 'lolly/System/**'
- 'lolly/lolly/**'
- 'lolly/xmake.lua'
moebius:
- 'moebius/Data/**'
- 'moebius/Kernel/**'
- 'moebius/Scheme/**'
- 'moebius/moebius/**'
- 'moebius/tests/**'
- 'moebius/xmake.lua'
moebius_src:
- 'moebius/Data/**'
- 'moebius/Kernel/**'
- 'moebius/Scheme/**'
- 'moebius/moebius/**'
- 'moebius/xmake.lua'
mogan:
- 'src/**'
- 'tests/**'
Expand All @@ -114,13 +129,19 @@ jobs:
- name: test lolly
if: steps.filter.outputs.lolly == 'true'
run: xmake test "lolly_tests/*"
- name: build moebius
if: steps.filter.outputs.moebius == 'true'
run: xmake build --yes -vD libmoebius
- name: test moebius
if: steps.filter.outputs.moebius == 'true'
run: xmake test "moebius_tests/*"

- name: build
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.mogan == 'true'
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake build --yes -vD stem && xmake build --yes -vD --group=tests
- name: test
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.mogan == 'true'
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake run --yes -vD --group=tests
- name: Scheme tests
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.mogan == 'true'
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake run --yes -vD --group=scheme_tests
55 changes: 55 additions & 0 deletions .github/workflows/ci-fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- "!src/Plugins/Macos/**"
- "!src/Plugins/Windows/**"
- "tests/**"
- "lolly/**"
- "moebius/**"
- "xmake.lua"
- "xmake/packages.lua"
- "xmake/packages/**"
Expand All @@ -19,6 +21,8 @@ on:
- "!src/Plugins/Macos/**"
- "!src/Plugins/Windows/**"
- "tests/**"
- "lolly/**"
- "moebius/**"
- "xmake.lua"
- "xmake/packages.lua"
- "xmake/packages/**"
Expand Down Expand Up @@ -74,11 +78,62 @@ jobs:
tmp/build/.build_cache
key: ${{ runner.os }}-fedora-build-qt683-${{ hashFiles('**/packages.lua') }}

- name: Detect changes
id: filter
uses: dorny/paths-filter@v3
with:
filters: |
lolly:
- 'lolly/**'
lolly_src:
- 'lolly/Data/**'
- 'lolly/Kernel/**'
- 'lolly/Plugins/**'
- 'lolly/System/**'
- 'lolly/lolly/**'
- 'lolly/xmake.lua'
moebius:
- 'moebius/Data/**'
- 'moebius/Kernel/**'
- 'moebius/Scheme/**'
- 'moebius/moebius/**'
- 'moebius/tests/**'
- 'moebius/xmake.lua'
moebius_src:
- 'moebius/Data/**'
- 'moebius/Kernel/**'
- 'moebius/Scheme/**'
- 'moebius/moebius/**'
- 'moebius/xmake.lua'
mogan:
- 'src/**'
- 'tests/**'
- 'xmake.lua'
- 'xmake/packages.lua'
- 'xmake/packages/**'
- 'TeXmacs/tests/*.scm'

- name: config
run: xmake config -vD --policies=build.ccache -o tmp/build -m releasedbg --yes
- name: build lolly
if: steps.filter.outputs.lolly == 'true'
run: xmake build --yes -vD liblolly
- name: test lolly
if: steps.filter.outputs.lolly == 'true'
run: xmake test "lolly_tests/*"
- name: build moebius
if: steps.filter.outputs.moebius == 'true'
run: xmake build --yes -vD libmoebius
- name: test moebius
if: steps.filter.outputs.moebius == 'true'
run: xmake test "moebius_tests/*"

- name: build
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake build --yes -vD stem && xmake build --yes -vD --group=tests
- name: test
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake run --yes -vD --group=tests
- name: Scheme tests
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake run --yes -vD --group=scheme_tests
41 changes: 36 additions & 5 deletions .github/workflows/ci-macos-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ on:
- 'lolly/lolly/**'
- 'lolly/tests/**'
- 'lolly/xmake.lua'
- 'moebius/Data/**'
- 'moebius/Kernel/**'
- 'moebius/Scheme/**'
- 'moebius/moebius/**'
- 'moebius/tests/**'
- 'moebius/xmake.lua'
- '.github/workflows/ci-macos-arm64.yml'
- 'TeXmacs/tests/*.scm'
- '3rdparty/**'
Expand All @@ -40,6 +46,12 @@ on:
- 'lolly/lolly/**'
- 'lolly/tests/**'
- 'lolly/xmake.lua'
- 'moebius/Data/**'
- 'moebius/Kernel/**'
- 'moebius/Scheme/**'
- 'moebius/moebius/**'
- 'moebius/tests/**'
- 'moebius/xmake.lua'
- '.github/workflows/ci-macos-arm64.yml'
- 'TeXmacs/tests/*.scm'
- '3rdparty/**'
Expand Down Expand Up @@ -78,6 +90,19 @@ jobs:
- 'lolly/System/**'
- 'lolly/lolly/**'
- 'lolly/xmake.lua'
moebius:
- 'moebius/Data/**'
- 'moebius/Kernel/**'
- 'moebius/Scheme/**'
- 'moebius/moebius/**'
- 'moebius/tests/**'
- 'moebius/xmake.lua'
moebius_src:
- 'moebius/Data/**'
- 'moebius/Kernel/**'
- 'moebius/Scheme/**'
- 'moebius/moebius/**'
- 'moebius/xmake.lua'
mogan:
- 'src/**'
- 'tests/**'
Expand All @@ -95,7 +120,7 @@ jobs:
path: |
${{github.workspace}}/build/.build_cache
/Users/runner/.xmake
key: xmake-${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('xmake/vars.lua', 'lolly/xmake.lua') }}
key: xmake-${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('xmake/vars.lua', 'lolly/xmake.lua', 'moebius/xmake.lua') }}

- name: Set Qt Environment Variables
run: |
Expand All @@ -121,7 +146,7 @@ jobs:
with:
path: |
${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
key: xrepo-${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('xmake/vars.lua', 'lolly/xmake.lua') }}
key: xrepo-${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('xmake/vars.lua', 'lolly/xmake.lua', 'moebius/xmake.lua') }}

- name: config
run: xmake config --policies=build.ccache -o ${{ runner.workspace }}/build -m releasedbg --yes
Expand All @@ -131,17 +156,23 @@ jobs:
- name: test lolly
if: steps.filter.outputs.lolly == 'true'
run: xmake test "lolly_tests/*"
- name: build moebius
if: steps.filter.outputs.moebius == 'true'
run: xmake build --yes -vD libmoebius
- name: test moebius
if: steps.filter.outputs.moebius == 'true'
run: xmake test "moebius_tests/*"

- name: build
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.mogan == 'true'
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake build --yes -vD stem && xmake build --yes -vD --group=tests
- name: C++ tests
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.mogan == 'true'
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake run --yes --verbose --diagnosis --group=tests
env:
QT_QPA_PLATFORM: offscreen
- name: Scheme tests
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.mogan == 'true'
if: steps.filter.outputs.lolly_src == 'true' || steps.filter.outputs.moebius_src == 'true' || steps.filter.outputs.mogan == 'true'
run: xmake run --yes -vD --group=scheme_tests
# - name: integration test
# run: xmake run --yes -vD --group=integration_tests
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/ci-moebius-debian13.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/ci-moebius-macos.yml

This file was deleted.

Loading
Loading