Build all targets
Some checks failed
Builds / XTChain (windows) (push) Failing after -59m59s
Builds / XTChain (linux) (push) Failing after 8m53s

This commit is contained in:
Aiken Harris 2025-07-06 17:29:43 +02:00 committed by CodingWorkshop Signing Team
parent e23ad59586
commit 8c31eb6767
Signed by: CodingWorkshop Signing Team
GPG Key ID: 6DC88369C82795D2

View File

@ -4,6 +4,9 @@ on: [push]
jobs:
XTChain:
strategy:
matrix:
target: [linux, windows]
runs-on: oscw
container:
image: codingworkshop/oscw-runner:latest
@ -11,10 +14,10 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3
- name: Build XTChain
run: CORES=10 ./build.sh
run: ./build.sh --jobs=10 --target=${{ matrix.target }}
- name: Publish binaries
if: startsWith(github.ref, 'refs/tags/')
env:
OSCW_GITHUB_USERNAME: ${{ secrets.OSCW_GITHUB_USERNAME }}
OSCW_GITHUB_PASSWORD: ${{ secrets.OSCW_GITHUB_PASSWORD }}
run: github_publish $OSCW_GITHUB_USERNAME $OSCW_GITHUB_PASSWORD $(ls xtchain-*-linux.tar.zst)
run: github_publish $OSCW_GITHUB_USERNAME $OSCW_GITHUB_PASSWORD $(ls xtchain-*-${{ matrix.target }}.*)