新增 syntaxCompatibility 配置项:显式指定使用调试目标解释器解析源码 #1677
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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| compile: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| platform: win32-x64 | |
| - os: ubuntu-24.04 | |
| platform: linux-x64 | |
| - os: ubuntu-24.04-arm | |
| platform: linux-arm64 | |
| - os: macos-latest | |
| platform: darwin-x64 | |
| - os: macos-latest | |
| platform: darwin-arm64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules : recursive | |
| - uses: actboy168/setup-luamake@master | |
| - if: matrix.platform == 'linux-x64' || matrix.platform == 'linux-arm64' | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y libiberty-dev | |
| - run: luamake lua compile/download_deps.lua | |
| - run: luamake -mode release -platform ${{ matrix.platform }} | |
| - run: npm install -g @vscode/vsce ovsx | |
| - run: npx vsce publish --target ${{ matrix.platform }} -p ${{ secrets.VSCE_KEY }} | |
| working-directory: publish | |
| continue-on-error: true | |
| - run: npx ovsx publish --target ${{ matrix.platform }} -p ${{ secrets.OVSX_KEY }} | |
| working-directory: publish | |
| continue-on-error: true |