ci: use lts cj #23
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: Test | |
| on: | |
| push: | |
| branches: ["master"] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: | |
| - runner: "ubuntu-24.04" | |
| sys: "linux" | |
| - runner: "ubuntu-24.04-arm" | |
| sys: "linux" | |
| - runner: "macos-15" | |
| sys: "darwin" | |
| - runner: "windows-2025" | |
| sys: "windows" | |
| fail-fast: false | |
| runs-on: ${{ matrix.os.runner }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Cangjie | |
| uses: Zxilly/setup-cangjie@v1 | |
| with: | |
| channel: "lts" | |
| token: ${{ secrets.GITCODE_TOKEN }} | |
| - name: Test unix install | |
| if: matrix.os.sys != 'windows' | |
| run: | | |
| chmod +x public/install.sh | |
| bash public/install.sh | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Test windows install | |
| if: matrix.os.sys == 'windows' | |
| run: | | |
| powershell -File public/install.ps1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Test cjbind | |
| run: | | |
| cjbind --version |