mirror of
https://github.com/alterware/master-server.git
synced 2025-04-20 12:25:42 +00:00
Compare commits
No commits in common. "master" and "0.0.9" have entirely different histories.
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
configuration:
|
||||
- debug
|
||||
- release
|
||||
compiler:
|
||||
- msvc
|
||||
@ -68,7 +69,7 @@ jobs:
|
||||
- name: Set up problem matching
|
||||
uses: ammaraskar/msvc-problem-matcher@master
|
||||
|
||||
- name: Build ${{matrix.arch}} ${{matrix.configuration}} ${{matrix.compiler}} binaries
|
||||
- name: Build ${{matrix.arch}} ${{matrix.configuration}} ${{matrix.compiler}} binaries
|
||||
run: msbuild /m /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} build/alterware-master.sln
|
||||
|
||||
- name: Upload ${{matrix.arch}} ${{matrix.configuration}} ${{matrix.compiler}} binaries
|
||||
@ -87,6 +88,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
configuration:
|
||||
- debug
|
||||
- release
|
||||
arch:
|
||||
- x86
|
||||
@ -176,6 +178,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
configuration:
|
||||
- debug
|
||||
- release
|
||||
arch:
|
||||
- arm64
|
||||
@ -190,7 +193,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
lfs: false
|
||||
|
||||
- name: Create the build directory
|
||||
- name: Compress the build directory
|
||||
run: mkdir -p build
|
||||
|
||||
- name: Download project files
|
||||
@ -199,14 +202,20 @@ jobs:
|
||||
name: linux-project-files
|
||||
path: build/
|
||||
|
||||
- name: Install LLVM
|
||||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 18
|
||||
|
||||
- name: Build ${{matrix.arch}} ${{matrix.configuration}} binaries
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
pushd build
|
||||
make config=${{matrix.configuration}}_${{matrix.arch}} -j$(nproc)
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
CC: clang-18
|
||||
CXX: clang++-18
|
||||
|
||||
- name: Upload ${{matrix.arch}} ${{matrix.configuration}} binaries
|
||||
uses: actions/upload-artifact@main
|
||||
@ -222,6 +231,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
configuration:
|
||||
- debug
|
||||
- release
|
||||
arch:
|
||||
- amd64
|
||||
|
Loading…
x
Reference in New Issue
Block a user