mirror of
https://github.com/alterware/iw4-validator.git
synced 2025-04-20 17:05:42 +00:00
build: update
This commit is contained in:
parent
44f79af47c
commit
3a137e6d48
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
platform: x64
|
platform: x64
|
||||||
steps:
|
steps:
|
||||||
- name: Check out files
|
- name: Check out files
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} build/iw4-validator.sln
|
run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} build/iw4-validator.sln
|
||||||
|
|
||||||
- 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.3
|
||||||
with:
|
with:
|
||||||
name: Windows ${{matrix.configuration}} ${{matrix.arch}} binaries
|
name: Windows ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||||
path: |
|
path: |
|
||||||
@ -76,7 +76,7 @@ jobs:
|
|||||||
config: release
|
config: release
|
||||||
steps:
|
steps:
|
||||||
- name: Check out files
|
- name: Check out files
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -115,7 +115,7 @@ jobs:
|
|||||||
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.3
|
||||||
with:
|
with:
|
||||||
name: Linux ${{matrix.configuration}} ${{matrix.arch}} binaries
|
name: Linux ${{matrix.configuration}} ${{matrix.arch}} binaries
|
||||||
path: |
|
path: |
|
||||||
@ -138,7 +138,7 @@ jobs:
|
|||||||
|
|
||||||
# Set up committer info and GPG key
|
# Set up committer info and GPG key
|
||||||
- name: Install SSH key
|
- name: Install SSH key
|
||||||
uses: shimataro/ssh-key-action@v2.5.1
|
uses: shimataro/ssh-key-action@v2.6.1
|
||||||
with:
|
with:
|
||||||
key: ${{ secrets.ALTERWARE_MASTER_SSH_PRIVATE_KEY }}
|
key: ${{ secrets.ALTERWARE_MASTER_SSH_PRIVATE_KEY }}
|
||||||
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
|
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
|
||||||
|
@ -24,14 +24,6 @@ filter "platforms:arm64"
|
|||||||
architecture "ARM64"
|
architecture "ARM64"
|
||||||
filter {}
|
filter {}
|
||||||
|
|
||||||
filter {"language:C++", "toolset:not msc*"}
|
|
||||||
buildoptions "-std=c++20"
|
|
||||||
filter {}
|
|
||||||
|
|
||||||
filter "toolset:msc*"
|
|
||||||
buildoptions "/std:c++20"
|
|
||||||
filter {}
|
|
||||||
|
|
||||||
filter {"system:windows"}
|
filter {"system:windows"}
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
filter {}
|
filter {}
|
||||||
@ -72,6 +64,7 @@ filter {}
|
|||||||
project "iw4-validator"
|
project "iw4-validator"
|
||||||
kind "ConsoleApp"
|
kind "ConsoleApp"
|
||||||
language "C++"
|
language "C++"
|
||||||
|
cppdialect "C++20"
|
||||||
|
|
||||||
targetname "iw4-validator"
|
targetname "iw4-validator"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user