feat(CI): Attempt to make windows artifacts.

Untested.
This commit is contained in:
tupoy-ya 2024-12-30 21:31:12 +05:00
parent 4d49e1eb12
commit 18999e134c
2 changed files with 18 additions and 4 deletions

View File

@ -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

View File

@ -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