Add Windows support and clean up toolchain #10

Merged
harraiken merged 39 commits from multiplatform into master 2025-07-10 12:37:42 +02:00
Showing only changes of commit 9d93103940 - Show all commits

View File

@ -3,18 +3,24 @@ run-name: ${{ github.actor }} runs Gitea Actions
on: [push] on: [push]
jobs: jobs:
XTChain: XTchain:
strategy: strategy:
matrix: matrix:
target: [linux, windows] target: [linux, windows]
build: [full, minimal]
runs-on: oscw runs-on: oscw
container: container:
image: codingworkshop/oscw-runner:latest image: codingworkshop/oscw-runner:latest
steps: steps:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build XTChain - name: Build XTchain
run: ./build.sh --jobs=10 --target=${{ matrix.target }} 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 - name: Publish binaries
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
env: env: