first
Some checks failed
Linux / Build Linux (push) Has been cancelled
Linux / Build Linux-1 (push) Has been cancelled
macOS / Build macOS (push) Has been cancelled
macOS / Build macOS-1 (push) Has been cancelled
Windows (MinGW) / Build MinGW (push) Has been cancelled
Windows (MinGW) / Build MinGW-1 (push) Has been cancelled
Windows (MSVC) / Build Windows (push) Has been cancelled
Windows (MSVC) / Build Windows-1 (push) Has been cancelled
Some checks failed
Linux / Build Linux (push) Has been cancelled
Linux / Build Linux-1 (push) Has been cancelled
macOS / Build macOS (push) Has been cancelled
macOS / Build macOS-1 (push) Has been cancelled
Windows (MinGW) / Build MinGW (push) Has been cancelled
Windows (MinGW) / Build MinGW-1 (push) Has been cancelled
Windows (MSVC) / Build Windows (push) Has been cancelled
Windows (MSVC) / Build Windows-1 (push) Has been cancelled
This commit is contained in:
commit
8269b17aa7
652 changed files with 273930 additions and 0 deletions
21
.github/workflows/build-linux.yml
vendored
Normal file
21
.github/workflows/build-linux.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Linux
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
name: Build Linux
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
compiler: ["clang", "gcc"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Dependencies
|
||||
run: sudo apt update && sudo apt install libmad0-dev libsdl2-dev libvorbis-dev
|
||||
|
||||
- name: Build ${{ matrix.compiler }}
|
||||
run: make --jobs=3 --keep-going --directory=Quake CC=${{ matrix.compiler }} USE_SDL2=1
|
||||
25
.github/workflows/build-mac.yml
vendored
Normal file
25
.github/workflows/build-mac.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: macOS
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-mac-os:
|
||||
name: Build macOS
|
||||
runs-on: macos-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
architecture: [x64, M1]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build ${{ matrix.architecture }}
|
||||
shell: bash
|
||||
run: |
|
||||
set -o pipefail
|
||||
xcodebuild \
|
||||
-project MacOSX/QuakeSpasm.xcodeproj \
|
||||
-configuration Release \
|
||||
-target QuakeSpasm-SDL2-${{ matrix.architecture }} \
|
||||
| xcpretty
|
||||
27
.github/workflows/build-mingw.yml
vendored
Normal file
27
.github/workflows/build-mingw.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Windows (MinGW)
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
name: Build MinGW
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- target: win32
|
||||
package: i686-win32
|
||||
- target: win64
|
||||
package: x86-64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Dependencies
|
||||
run: sudo apt update && sudo apt install gcc-mingw-w64-${{ matrix.config.package }}
|
||||
|
||||
- name: Build MinGW ${{ matrix.config.target }}
|
||||
run: |
|
||||
export MAKEFLAGS=--jobs=3\ --keep-going
|
||||
cd Quake && ./build_cross_${{ matrix.config.target }}-sdl2.sh
|
||||
27
.github/workflows/build-windows.yml
vendored
Normal file
27
.github/workflows/build-windows.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Windows (MSVC)
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-windows:
|
||||
name: Build Windows
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [x64, Win32]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Build ${{ matrix.platform }}
|
||||
run: |
|
||||
$options = @( `
|
||||
'-property:Configuration=Release', `
|
||||
'-property:Platform=${{ matrix.platform }}', `
|
||||
'-maxcpucount', `
|
||||
'-verbosity:minimal' `
|
||||
)
|
||||
& msbuild Windows\VisualStudio\quakespasm.sln $options
|
||||
if (-not $?) { throw "Build failed" }
|
||||
Loading…
Add table
Add a link
Reference in a new issue