mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-04-19 19:32:53 +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.pdb
|
||||
|
||||
build-lin:
|
||||
build-linux:
|
||||
name: Build Linux
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@ -80,6 +80,9 @@ jobs:
|
||||
fetch-depth: 0
|
||||
lfs: false
|
||||
|
||||
- name: Install Mold
|
||||
uses: rui314/setup-mold@staging
|
||||
|
||||
- name: Install dependencies (x64)
|
||||
if: matrix.arch == 'x64'
|
||||
run: |
|
||||
@ -95,7 +98,7 @@ jobs:
|
||||
- name: Build ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||
run: |
|
||||
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
|
||||
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