binary_artifact.yml: add prebuilding of vup.exe and vdoctor.exe while making releases
parent
b28b41d069
commit
468c37e186
|
@ -17,7 +17,11 @@ jobs:
|
|||
- name: Compile
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
run: make && ./v -cc $CC -o v -prod cmd/v
|
||||
run: |
|
||||
make -j4
|
||||
./v -cc $CC -o v -prod cmd/v
|
||||
./v -prod cmd/tools/vup.v
|
||||
./v -prod cmd/tools/vdoctor.v
|
||||
- name: Create artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
@ -43,7 +47,11 @@ jobs:
|
|||
- name: Compile
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
run: make && ./v -cc $CC -o v -prod cmd/v
|
||||
run: |
|
||||
make -j4
|
||||
./v -cc $CC -o v -prod cmd/v
|
||||
./v -prod cmd/tools/vup.v
|
||||
./v -prod cmd/tools/vdoctor.v
|
||||
- name: Create artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
@ -65,7 +73,10 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- uses: msys2/setup-msys2@v2
|
||||
- name: Compile
|
||||
run: ./make.bat
|
||||
run: |
|
||||
.\make.bat
|
||||
.\v.exe cmd\tools\vup.v
|
||||
.\v.exe cmd\tools\vdoctor.v
|
||||
- name: Create artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
@ -124,6 +135,10 @@ jobs:
|
|||
chmod 755 v || true
|
||||
chmod 755 v.exe || true
|
||||
chmod 755 thirdparty/tcc/tcc.exe || true
|
||||
chmod 755 cmd/tools/vup || true
|
||||
chmod 755 cmd/tools/vup.exe || true
|
||||
chmod 755 cmd/tools/vdoctor || true
|
||||
chmod 755 cmd/tools/vdoctor.exe || true
|
||||
cd ..
|
||||
zip -r9 --symlinks ../v_${{ matrix.version }}.zip v/*
|
||||
cd ..
|
||||
|
|
Loading…
Reference in New Issue