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:
|
||||
build-linux:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
bits: ['', '--64bits']
|
||||
android: ['']
|
||||
dedicated: ['', '-dl']
|
||||
flags: ['', '-dl', '-u']
|
||||
include:
|
||||
- os: ubuntu-20.04
|
||||
bits: ''
|
||||
android: '--android=armeabi-v7a-hard,4.9,21 --use-togles'
|
||||
dedicated: ''
|
||||
flags: ''
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
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
|
||||
|
||||
- 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 }}
|
||||
run: ./waf install
|
||||
- name: Tar binaries
|
||||
@ -60,13 +61,13 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Linux${{matrix.bits}}${{matrix.dedicated}}${{matrix.android}}.tar
|
||||
name: Linux${{matrix.bits}}${{matrix.flags}}${{matrix.android}}.tar
|
||||
path: build.tar
|
||||
|
||||
build-macos:
|
||||
strategy:
|
||||
matrix:
|
||||
dedicated: ['', '-dl']
|
||||
flags: ['', '-dl', '-u']
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
@ -79,7 +80,7 @@ jobs:
|
||||
run: brew install sdl2
|
||||
|
||||
- name: Configure
|
||||
run: ./waf configure --64bits ${{ matrix.dedicated }} $WAF_FLAGS
|
||||
run: ./waf configure --64bits ${{ matrix.flags }} $WAF_FLAGS
|
||||
- name: Build macos-amd64
|
||||
run: ./waf install
|
||||
- name: Tar binaries
|
||||
@ -87,7 +88,7 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: macOS--64bits${{matrix.dedicated}}.tar
|
||||
name: macOS--64bits${{matrix.flags}}.tar
|
||||
path: build.tar
|
||||
|
||||
build-windows:
|
||||
@ -95,7 +96,7 @@ jobs:
|
||||
matrix:
|
||||
os: [windows-2019]
|
||||
bits: ['', '--64bits']
|
||||
dedicated: ['', '-dl']
|
||||
flags: ['', '-dl', '-u']
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -103,7 +104,7 @@ jobs:
|
||||
submodules: recursive
|
||||
|
||||
- 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 }}
|
||||
run: ./waf install
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user