Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare extension for x64 build #49

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft
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
21 changes: 11 additions & 10 deletions .github/workflows/ci-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,40 +35,41 @@ jobs:
# We currently only support tf2 - however when we support more sdks
# we will have to deal with the special case of our custom tf2 + AM's sdks
SDKS: '["tf2"]'
MMSOURCE_VERSION: '1.10'
SOURCEMOD_VERSION: '1.11'
MMSOURCE_VERSION: '1.12-dev'
SOURCEMOD_VERSION: '35ac74c7a7243e17a3aa2338b116eaa8a0a9ccdc'
CACHE_PATH: ${{ github.workspace }}/cache
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Repository checkout
with:
fetch-depth: 0
submodules: true
path: CBaseNPC

- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Sourcemod checkout
with:
repository: alliedmodders/sourcemod
ref: ${{ env.SOURCEMOD_VERSION }}-dev
ref: ${{ env.SOURCEMOD_VERSION }}
submodules: true
path: cache/sourcemod

- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Metamod-Source checkout
with:
repository: alliedmodders/metamod-source
ref: ${{ env.MMSOURCE_VERSION }}-dev
ref: ${{ env.MMSOURCE_VERSION }}
path: cache/metamod

- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: AMBuild checkout
with:
repository: alliedmodders/ambuild
ref: master
path: cache/ambuild

- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Custom TF2 SDK checkout
with:
repository: TF2-DMB/hl2sdk-tf2
Expand Down Expand Up @@ -121,7 +122,7 @@ jobs:
run: |
mkdir build
cd build
python ../configure.py --extension-only --enable-auto-versioning --enable-optimize --sdks=${{ join(fromJSON(env.SDKS)) }} --mms-path=${{ env.CACHE_PATH }}/metamod --hl2sdk-root=${{ env.CACHE_PATH }} --sm-path=${{ env.CACHE_PATH }}/sourcemod
python ../configure.py --extension-only --enable-auto-versioning --enable-optimize --targets x86,x86_64 --sdks=${{ join(fromJSON(env.SDKS)) }} --mms-path=${{ env.CACHE_PATH }}/metamod --hl2sdk-root=${{ env.CACHE_PATH }} --sm-path=${{ env.CACHE_PATH }}/sourcemod
ambuild

- name: Upload artifact
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci-scripting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- uses: actions/setup-python@v3
name: Setup Python 3.8
Expand Down
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "hl2sdk-manifests"]
path = hl2sdk-manifests
url = [email protected]:alliedmodders/hl2sdk-manifests.git
[submodule "third_party\\safetyhook"]
path = third_party\\safetyhook
url = https://github.com/alliedmodders/safetyhook.git
Loading