name: CI on: push: branches: [master] pull_request: workflow_dispatch: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 with: path: css - name: Build the ziran launcher run: | git clone --depth 1 https://github.com/ziranlang/ziran.git ziran make -C ziran echo "$PWD/ziran/build/bin" >> "$GITHUB_PATH" - name: Test working-directory: css run: | ziran fetch --locked make test style-pack-check # C, C++, Go, ZX and the browser export must agree; Android runs # where a phone is attached, so it is skipped here. - name: Conformance working-directory: css run: env -u DISPLAY -u WAYLAND_DISPLAY make conformance # A failure names the seed; rerun it with make fuzz FUZZ_SEED=N. - name: Fuzz with this run's seed working-directory: css run: env -u DISPLAY -u WAYLAND_DISPLAY make fuzz FUZZ_SEED=${{ github.run_number }} FUZZ_COUNT=10000 - name: Keep a failing sheet if: failure() uses: actions/upload-artifact@v7 with: name: css-fuzz-failure path: css/build/css-fuzz/failure-* if-no-files-found: ignore