mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-04-20 03:35:44 +00:00
maint: use mold w/ CI
This commit is contained in:
parent
d3507153af
commit
fca66411cb
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -56,7 +56,7 @@ jobs:
|
|||||||
build/bin/${{matrix.arch}}/${{matrix.configuration}}/xlabs-master-tool.exe
|
build/bin/${{matrix.arch}}/${{matrix.configuration}}/xlabs-master-tool.exe
|
||||||
build/bin/${{matrix.arch}}/${{matrix.configuration}}/xlabs-master-tool.pdb
|
build/bin/${{matrix.arch}}/${{matrix.configuration}}/xlabs-master-tool.pdb
|
||||||
|
|
||||||
build-lin:
|
build-linux:
|
||||||
name: Build Linux
|
name: Build Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
@ -80,6 +80,9 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
lfs: false
|
lfs: false
|
||||||
|
|
||||||
|
- name: Install Mold
|
||||||
|
uses: rui314/setup-mold@staging
|
||||||
|
|
||||||
- name: Install dependencies (x64)
|
- name: Install dependencies (x64)
|
||||||
if: matrix.arch == 'x64'
|
if: matrix.arch == 'x64'
|
||||||
run: |
|
run: |
|
||||||
@ -95,7 +98,7 @@ jobs:
|
|||||||
- name: Build ${{matrix.configuration}} ${{matrix.arch}} binaries
|
- name: Build ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||||
run: |
|
run: |
|
||||||
pushd build
|
pushd build
|
||||||
../tools/mold/mold -run make config=${{matrix.config}}_${{matrix.arch}} -j$(nproc)
|
make config=${{matrix.config}}_${{matrix.arch}} -j$(nproc)
|
||||||
|
|
||||||
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
|
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
|
BIN
tools/mold/mold
BIN
tools/mold/mold
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user