Add Windows support and clean up toolchain #10

Open
harraiken wants to merge 38 commits from multiplatform into master
Showing only changes of commit 9d93103940 - Show all commits

View File

@ -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: