Enable minimal build
This commit is contained in:
parent
e2aa006f8d
commit
9d93103940
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user