Update to latest cwtools + perf #57
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
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| pull_request: | |
| branches: | |
| - '*' | |
| name: Test | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: 9.0.x | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - run: npm install | |
| - name: Set chmod | |
| run: chmod +x ./build.sh | |
| - name: Create dir | |
| run: | | |
| mkdir -p /home/runner/work/cwtools-vscode/cwtools-vscode/src/Main/bin/Release/net9.0/win-x64/zh-hans | |
| mkdir -p /home/runner/work/cwtools-vscode/cwtools-vscode/src/Main/bin/Release/net9.0/linux-x64/zh-hans | |
| mkdir -p /home/runner/work/cwtools-vscode/cwtools-vscode/src/Main/bin/Release/net9.0/osx-x64/zh-hans | |
| mkdir -p home/runner/work/cwtools-vscode/cwtools-vscode/release/bin/server/win-x64/zh-hans | |
| mkdir -p home/runner/work/cwtools-vscode/cwtools-vscode/release/bin/server/linux-x64/zh-hans | |
| mkdir -p home/runner/work/cwtools-vscode/cwtools-vscode/release/bin/server/osx-x64/zh-hans | |
| mkdir -p /home/runner/work/cwtools-vscode/cwtools-vscode/release/bin/server/win-x64/zh-hans/Languages.resources.dll | |
| mkdir -p /home/runner/work/cwtools-vscode/cwtools-vscode/release/bin/server/linux-x64/zh-hans/Languages.resources.dll | |
| mkdir -p /home/runner/work/cwtools-vscode/cwtools-vscode/release/bin/server/osx-x64/zh-hans/Languages.resources.dll | |
| - name: Test build | |
| run: /bin/sh ./build.sh DryRelease | |
| - name: Test | |
| run: xvfb-run -a npm test | |
| - name: 'Upload Artifact' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: cwtools-vscode-pipeline.vsix | |
| path: temp/*.vsix | |
| retention-days: 5 | |