[0620] 解决局部导入/粘贴 LaTeX 包含 preamble 渲染错误的问题 #4351
Workflow file for this run
This file contains hidden or 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
| name: Build and Test on windows | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'src/**' | |
| - '!src/Plugins/Macos/**' | |
| - '!src/Plugins/Unix/**' | |
| - 'tests/**' | |
| - 'TeXmacs/plugins/goldfish/src/*' | |
| - 'xmake.lua' | |
| - 'xmake/packages.lua' | |
| - 'xmake/research.lua' | |
| - 'xmake/packages/**' | |
| - 'xmake-requires.lock' | |
| - '.github/workflows/ci-xmake-windows.yml' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'src/**' | |
| - '!src/Plugins/Macos/**' | |
| - '!src/Plugins/Unix/**' | |
| - 'tests/**' | |
| - 'TeXmacs/plugins/goldfish/src/*' | |
| - 'xmake.lua' | |
| - 'xmake/packages.lua' | |
| - 'xmake/research.lua' | |
| - 'xmake/packages/**' | |
| - 'xmake-requires.lock' | |
| - '.github/workflows/ci-xmake-windows.yml' | |
| workflow_dispatch: | |
| jobs: | |
| windowsbuild: | |
| runs-on: windows-2025 | |
| timeout-minutes: 45 | |
| if: always() | |
| env: | |
| # Force xmake to a specific folder (for cache) | |
| XMAKE_GLOBALDIR: "${{ github.workspace }}\\.xmake-global" | |
| steps: | |
| - uses: xmake-io/github-action-setup-xmake@v1 | |
| with: | |
| xmake-version: v3.0.4 | |
| - name: update repo | |
| run: | | |
| xrepo update-repo | |
| # - name: Install pandoc | |
| # run: choco install pandoc -y | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 1 | |
| - name: cache packages from xrepo | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages | |
| key: qt683-${{ runner.os }}-${{ runner.arch }}-xrepo-${{ hashFiles('xmake/vars.lua') }} | |
| - name: cache xmake | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ${{ github.workspace }}/build/.build_cache | |
| key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('xmake/vars.lua') }} | |
| - name: config | |
| run: xmake config --policies=build.ccache --yes -vD -m releasedbg --plat=windows | |
| - name: build | |
| run: xmake build --yes -vD stem |