From 9d93103940c4d442a0e9258ecd70b3dc05b629a5 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Wed, 9 Jul 2025 12:27:30 +0200 Subject: [PATCH] Enable minimal build --- .github/workflows/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa27ff5..ca6ae18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,18 +3,24 @@ run-name: ${{ github.actor }} runs Gitea Actions on: [push] jobs: - XTChain: + XTchain: strategy: matrix: target: [linux, windows] + build: [full, minimal] runs-on: oscw container: image: codingworkshop/oscw-runner:latest steps: - name: Clone repository uses: actions/checkout@v3 - - name: Build XTChain - run: ./build.sh --jobs=10 --target=${{ matrix.target }} + - name: Build XTchain + run: | + if [ "${{ matrix.build }}" == "minimal" ]; then + ./build.sh --jobs=10 --target=${{ matrix.target }} --minimal + else + ./build.sh --jobs=10 --target=${{ matrix.target }} + fi - name: Publish binaries if: startsWith(github.ref, 'refs/tags/') env: