mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-04-20 19:55:44 +00:00
maint: update build.yml
This commit is contained in:
parent
0d7bb71710
commit
206932838d
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -30,14 +30,14 @@ jobs:
|
||||
platform: x64
|
||||
steps:
|
||||
- name: Check out files
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.3.0
|
||||
with:
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
lfs: false
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.1.3
|
||||
uses: microsoft/setup-msbuild@v1.3.1
|
||||
|
||||
- name: Generate project files
|
||||
run: cmd /C call generate.bat
|
||||
@ -49,7 +49,7 @@ jobs:
|
||||
run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} build/xlabs-master-tool.sln
|
||||
|
||||
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
with:
|
||||
name: Windows ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||
path: |
|
||||
@ -74,7 +74,7 @@ jobs:
|
||||
config: release
|
||||
steps:
|
||||
- name: Check out files
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.3.0
|
||||
with:
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
@ -98,7 +98,7 @@ jobs:
|
||||
../tools/mold/mold -run make config=${{matrix.config}}_${{matrix.arch}} -j$(nproc)
|
||||
|
||||
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
with:
|
||||
name: Linux ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||
path: |
|
||||
@ -127,7 +127,7 @@ jobs:
|
||||
platform: arm64
|
||||
steps:
|
||||
- name: Check out files
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v3.3.0
|
||||
with:
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
@ -145,7 +145,7 @@ jobs:
|
||||
make config=${{matrix.config}}_${{matrix.platform}} -j$(sysctl -n hw.logicalcpu)
|
||||
|
||||
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
with:
|
||||
name: macOS ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||
path: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user