mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-03-13 06:01:53 +00:00
enable utils
This commit is contained in:
parent
5a22429e76
commit
6d8b1917d2
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -7,16 +7,17 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
bits: ['', '--64bits']
|
bits: ['', '--64bits']
|
||||||
android: ['']
|
android: ['']
|
||||||
dedicated: ['', '-dl']
|
flags: ['', '-dl', '-u']
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
bits: ''
|
bits: ''
|
||||||
android: '--android=armeabi-v7a-hard,4.9,21 --use-togles'
|
android: '--android=armeabi-v7a-hard,4.9,21 --use-togles'
|
||||||
dedicated: ''
|
flags: ''
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
DEPS: libopenal-dev libpng-dev libjpeg-dev libfreetype6-dev libfontconfig1-dev libcurl4-gnutls-dev libsdl2-dev zlib1g-dev libbz2-dev libedit-dev
|
DEPS: libopenal-dev libpng-dev libjpeg-dev libfreetype6-dev libfontconfig1-dev libcurl4-gnutls-dev libsdl2-dev zlib1g-dev libbz2-dev libedit-dev
|
||||||
@ -52,7 +53,7 @@ jobs:
|
|||||||
run: echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig" >> $GITHUB_ENV
|
run: echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: ./waf configure ${{ matrix.bits }} ${{ matrix.android }} ${{ matrix.dedicated }} $WAF_FLAGS
|
run: ./waf configure ${{ matrix.bits }} ${{ matrix.android }} ${{ matrix.flags }} $WAF_FLAGS
|
||||||
- name: Build ${{ matrix.os }}
|
- name: Build ${{ matrix.os }}
|
||||||
run: ./waf install
|
run: ./waf install
|
||||||
- name: Tar binaries
|
- name: Tar binaries
|
||||||
@ -60,13 +61,13 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Linux${{matrix.bits}}${{matrix.dedicated}}${{matrix.android}}.tar
|
name: Linux${{matrix.bits}}${{matrix.flags}}${{matrix.android}}.tar
|
||||||
path: build.tar
|
path: build.tar
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
dedicated: ['', '-dl']
|
flags: ['', '-dl', '-u']
|
||||||
|
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
@ -79,7 +80,7 @@ jobs:
|
|||||||
run: brew install sdl2
|
run: brew install sdl2
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: ./waf configure --64bits ${{ matrix.dedicated }} $WAF_FLAGS
|
run: ./waf configure --64bits ${{ matrix.flags }} $WAF_FLAGS
|
||||||
- name: Build macos-amd64
|
- name: Build macos-amd64
|
||||||
run: ./waf install
|
run: ./waf install
|
||||||
- name: Tar binaries
|
- name: Tar binaries
|
||||||
@ -87,7 +88,7 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macOS--64bits${{matrix.dedicated}}.tar
|
name: macOS--64bits${{matrix.flags}}.tar
|
||||||
path: build.tar
|
path: build.tar
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
@ -95,7 +96,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [windows-2019]
|
os: [windows-2019]
|
||||||
bits: ['', '--64bits']
|
bits: ['', '--64bits']
|
||||||
dedicated: ['', '-dl']
|
flags: ['', '-dl', '-u']
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -103,7 +104,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: ./waf configure ${{ matrix.bits }} ${{ matrix.dedicated }} ${{ env.WAF_FLAGS }}
|
run: ./waf configure ${{ matrix.bits }} ${{ matrix.flags }} ${{ env.WAF_FLAGS }}
|
||||||
- name: Build ${{ matrix.os }}
|
- name: Build ${{ matrix.os }}
|
||||||
run: ./waf install
|
run: ./waf install
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user