From 4214d9b4dee0c8395b0e01bab49db134fa61013e Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Tue, 17 Feb 2026 17:40:17 +0100 Subject: [PATCH] WIP --- .github/workflows/test_build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/test_build.yml diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml new file mode 100644 index 000000000..782a80ee0 --- /dev/null +++ b/.github/workflows/test_build.yml @@ -0,0 +1,29 @@ +name: test ci build + +on: + push: + branches: + - main + pull_request: + +env: + RUST_CACHE_KEY: rust-cache-20241114 + # disable incremental builds in CI, it's not needed + CARGO_INCREMENTAL: 0 + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - name: restore build & cargo cache + uses: Swatinem/rust-cache@v2 + with: + prefix-key: ${{ env.RUST_CACHE_KEY }} + + - name: build binary + run: cargo build -p docs_rs_builder --release + + - name: run binary + run: ./target/release/docs_rs_builder