chore: upd breeze js #25
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 & Test | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: macos-latest | |
| arch: arm64 | |
| name: macOS ARM64 | |
| - os: macos-15-intel | |
| arch: x64 | |
| name: macOS x64 | |
| - os: ubuntu-24.04 | |
| arch: x64 | |
| name: Linux x64 | |
| - os: ubuntu-24.04-arm | |
| arch: arm64 | |
| name: Linux ARM64 | |
| - os: windows-latest | |
| arch: x64 | |
| name: Windows x64 | |
| runs-on: ${{ matrix.os }} | |
| name: ${{ matrix.name }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install xmake | |
| uses: xmake-io/github-action-setup-xmake@v1 | |
| with: | |
| xmake-version: 3.0.7 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install TS dependencies | |
| working-directory: src/core/typescript | |
| run: pnpm install | |
| - name: Build TypeScript | |
| working-directory: src/core/typescript | |
| run: pnpm build | |
| - name: Install GCC 15 (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y software-properties-common | |
| sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
| sudo apt-get update | |
| sudo apt-get install -y gcc-15 g++-15 | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-15 100 | |
| sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-15 100 | |
| - name: Configure xmake | |
| if: runner.os == 'Linux' | |
| run: | | |
| xmake f -m releasedbg -v -y --toolchain=gcc | |
| - name: Configure xmake | |
| if: runner.os != 'Linux' | |
| run: | | |
| xmake f -m releasedbg -v -y | |
| - name: Build | |
| run: xmake build -y | |
| - name: Test | |
| run: xmake run chromatic-test |