mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-07-16 06:19:58 +00:00
feat(CI): Attempt to make windows artifacts.
Untested.
This commit is contained in:
parent
4d49e1eb12
commit
18999e134c
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
sudo aptitude install -y $(echo $DEPS | sed -r 's/[a-z0-9_\-]+/&:i386/g')
|
||||
echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig" >> $GITHUB_ENV
|
||||
- name: Install 64bit dependencies
|
||||
if: ${{ matrix.bits != '' }}
|
||||
if: ${{ matrix.bits == '' }}
|
||||
run: |
|
||||
sudo apt-get install -y $DEPS
|
||||
- name: Install Android dependencies
|
||||
@ -115,4 +115,18 @@ jobs:
|
||||
- name: Configure
|
||||
run: ./waf configure ${{ matrix.bits }} ${{ matrix.flags }} ${{ env.WAF_FLAGS }}
|
||||
- name: Build ${{ matrix.os }}
|
||||
run: ./waf install
|
||||
run: ./waf install
|
||||
|
||||
- name: 'Upload build'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows${{matrix.bits}}${{matrix.flags}}
|
||||
path: |
|
||||
build_hl2
|
||||
!build_hl2/**/*.pdb
|
||||
- name: 'Upload debug symbols'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows${{matrix.bits}}${{matrix.flags}}
|
||||
path: |
|
||||
build_hl2/**/*.pdb
|
||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
- name: Install common dependencies
|
||||
run: sudo apt-get update && sudo apt-get install -y g++-multilib gcc-multilib
|
||||
- name: Install 32bit dependencies
|
||||
if: ${{ matrix.bits == '' && !matrix.android }}
|
||||
if: ${{ matrix.bits != '' && !matrix.android }}
|
||||
run: |
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get update
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
sudo aptitude install -y $(echo $DEPS | sed -r 's/[a-z0-9_\-]+/&:i386/g')
|
||||
echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig" >> $GITHUB_ENV
|
||||
- name: Install 64bit dependencies
|
||||
if: ${{ matrix.bits != '' }}
|
||||
if: ${{ matrix.bits == '' }}
|
||||
run: |
|
||||
sudo apt-get install -y $DEPS
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user