Don't wrap inside menu item #1022 #581
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| java: | |
| name: Java ${{ matrix.platform }} ${{ matrix.java }} | |
| runs-on: ${{ matrix.platform }} | |
| continue-on-error: ${{ matrix.experimental }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java: ["17", "21"] | |
| platform: [ubuntu-latest] | |
| mvn_opts: ["-Dsurefire.useFile=false"] | |
| experimental: [false] | |
| include: | |
| - platform: macos-latest | |
| java: "17" | |
| mvn_opts: "-Dsurefire.useFile=false" | |
| experimental: true | |
| - platform: windows-latest | |
| java: "17" | |
| mvn_opts: '"-Dsurefire.useFile=false"' | |
| experimental: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| - name: Run test suite | |
| run: mvn -B --no-transfer-progress ${{ matrix.mvn_opts }} test | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: errdump | |
| path: | | |
| yamcs-core/hs_err* | |
| yamcs-core/target/surefire-reports/*.dump* | |
| tests/hs_err* | |
| tests/target/surefire-reports/*.dump* | |
| javadoc: | |
| name: Javadoc ${{ matrix.java }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: ["17", "21"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| - name: Generate javadoc | |
| run: mvn -B --no-transfer-progress -DskipTests javadoc:aggregate | |
| web: | |
| name: Web | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Set up webapp | |
| run: cd yamcs-web/src/main/webapp; npm install | |
| - name: Build webapp | |
| run: cd yamcs-web/src/main/webapp; npm run build | |
| - name: Check formatting | |
| run: cd yamcs-web/src/main/webapp; npm run prettier:check | |
| docs: | |
| name: Documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Generate protobin | |
| run: mvn -B --no-transfer-progress -DskipTests compile | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Set up sphinx | |
| run: | | |
| cd docs | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Generate HTTP API documentation | |
| run: | | |
| cd docs/http-api | |
| make html | |
| - name: Generate Server Manual | |
| run: | | |
| cd docs/server-manual | |
| make man html |