Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 38 additions & 4 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

matrix:
platform:
- { display_name: 'Linux Native Libraries', os: ubuntu-24.04, preset_os: linux }
- { display_name: 'Linux Libraries', os: ubuntu-24.04, preset_os: linux }

preset_build_type:
- { display_name: 'Debug', name: debug }
Expand Down Expand Up @@ -86,6 +86,7 @@ jobs:
-DNEO_COPY_LIBRARIES=OFF
-DNEO_USE_SEPARATE_BUILD_INFO=ON
-DNEO_INSTALL_LIBRARIES=ON
-DNEO_INSTALL_UTILS=ON
-DNEO_INSTALL_RESOURCES=OFF
-DNEO_EXTRA_ASSETS_ALT_PATH=${{ github.workspace }}/neoAssets

Expand Down Expand Up @@ -130,6 +131,8 @@ jobs:
echo "libraries_debuginfo=$(find . -regex '\.\/neo-\w*-\w*-libraries-debuginfo-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "dedicated=$(find . -regex '\.\/neo-\w*-\w*-dedicated-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "dedicated_debuginfo=$(find . -regex '\.\/neo-\w*-\w*-dedicated-debuginfo-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "utils=$(find . -regex '\.\/neo-\w*-\w*-utils-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "utils_debuginfo=$(find . -regex '\.\/neo-\w*-\w*-utils-debuginfo-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "gamedata=$(find . -regex '\.\/neo-\w*-\w*-gamedata' -printf '%f')" >> "$GITHUB_ENV"

- name: Upload libraries
Expand Down Expand Up @@ -160,6 +163,20 @@ jobs:
path: ${{ env.install_dir }}/${{ env.dedicated_debuginfo }}
if-no-files-found: error

- name: Upload utils
uses: actions/upload-artifact@v7
with:
name: ${{ env.utils }}
path: ${{ env.install_dir }}/${{ env.utils }}
if-no-files-found: error

- name: Upload utils debug information
uses: actions/upload-artifact@v7
with:
name: ${{ env.utils_debuginfo }}
path: ${{ env.install_dir }}/${{ env.utils_debuginfo }}
if-no-files-found: error

- name: Upload SourceMod gamedata
if: ${{ matrix.preset_build_type.name == 'release' }}
uses: actions/upload-artifact@v7
Expand All @@ -182,7 +199,7 @@ jobs:

matrix:
platform:
- { display_name: 'Windows Native Libraries', os: windows-2022, preset_os: windows }
- { display_name: 'Windows Libraries', os: windows-2022, preset_os: windows }

preset_build_type:
- { display_name: 'Debug', name: debug }
Expand Down Expand Up @@ -241,6 +258,7 @@ jobs:
-DNEO_COPY_LIBRARIES=OFF
-DNEO_USE_SEPARATE_BUILD_INFO=ON
-DNEO_INSTALL_LIBRARIES=ON
-DNEO_INSTALL_UTILS=ON
-DNEO_INSTALL_RESOURCES=OFF
-DNEO_EXTRA_ASSETS_ALT_PATH=${{ github.workspace }}/neoAssets

Expand Down Expand Up @@ -285,7 +303,8 @@ jobs:
echo "libraries_debuginfo=$(find . -regex '\.\/neo-\w*-\w*-libraries-debuginfo-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "dedicated=$(find . -regex '\.\/neo-\w*-\w*-dedicated-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "dedicated_debuginfo=$(find . -regex '\.\/neo-\w*-\w*-dedicated-debuginfo-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "gamedata=$(find . -regex '\.\/neo-\w*-\w*-gamedata' -printf '%f')" >> "$GITHUB_ENV"
echo "utils=$(find . -regex '\.\/neo-\w*-\w*-utils-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"
echo "utils_debuginfo=$(find . -regex '\.\/neo-\w*-\w*-utils-debuginfo-\w*-\w*' -printf '%f')" >> "$GITHUB_ENV"

- name: Upload libraries
uses: actions/upload-artifact@v7
Expand Down Expand Up @@ -315,8 +334,22 @@ jobs:
path: ${{ env.install_dir }}/${{ env.dedicated_debuginfo }}
if-no-files-found: error

- name: Upload utils
uses: actions/upload-artifact@v7
with:
name: ${{ env.utils }}
path: ${{ env.install_dir }}/${{ env.utils }}
if-no-files-found: error

- name: Upload utils debug information
uses: actions/upload-artifact@v7
with:
name: ${{ env.utils_debuginfo }}
path: ${{ env.install_dir }}/${{ env.utils_debuginfo }}
if-no-files-found: error

pack-resources:
name: Windows Native Resources
name: Windows Resources

runs-on: windows-2022

Expand Down Expand Up @@ -357,6 +390,7 @@ jobs:
-DNEO_USE_CCACHE=OFF
-DNEO_COPY_LIBRARIES=OFF
-DNEO_INSTALL_LIBRARIES=OFF
-DNEO_INSTALL_UTILS=OFF
-DNEO_INSTALL_RESOURCES=ON

- name: Install resources
Expand Down
Loading