feat: Complete major Rust refactoring milestones #2161
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: Continuous integration | |
| on: | |
| push: | |
| branches: [ '**' ] | |
| tags: [ 'v*.*.*' ] | |
| pull_request: | |
| branches: [ '**' ] | |
| jobs: | |
| Runner: | |
| runs-on: ${{ matrix.ci-type.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ci-type: [ | |
| {os: "windows-latest", arch: "x64"}, | |
| {os: "macos-latest", arch: "x64"}, | |
| {os: "ubuntu-latest", arch: "x64"}, | |
| ] | |
| node-version: [ 18, 20, 22 ] | |
| steps: | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Checkout Git Source | |
| uses: actions/checkout@master | |
| - name: Add msbuild to PATH | |
| uses: microsoft/[email protected] | |
| if: ${{ matrix.ci-type.os == 'windows-latest' }} | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install Dependencies | |
| run: npm install | |
| - name: Continuous Integration | |
| run: npm run ci | |
| - name: Code Coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| # - name: Package Binary | |
| # run: npm run pack | |
| # - name: Draft Release | |
| # uses: softprops/action-gh-release@v1 | |
| # if: startsWith(github.ref, 'refs/tags/') | |
| # with: | |
| # files: release/** | |
| # fail_on_unmatched_files: true | |
| # draft: true |