Skip to content

Commit 14a8f04

Browse files
committed
Using Manifests for build
1 parent f2cf521 commit 14a8f04

File tree

4 files changed

+93
-234
lines changed

4 files changed

+93
-234
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
sm_version:
3737
- "latest"
38-
- "1.11"
38+
- "1.12"
3939

4040
include:
4141
- mm_version: "latest"
@@ -44,8 +44,8 @@ jobs:
4444
- sm_version: "latest"
4545
sm_branch: "master"
4646

47-
- sm_version: "1.11"
48-
sm_branch: "1.11-dev"
47+
- sm_version: "1.12"
48+
sm_branch: "1.12-dev"
4949

5050
- os: ubuntu-latest
5151
os_short: linux
@@ -131,6 +131,19 @@ jobs:
131131
ref: csgo
132132
path: hl2sdk-csgo
133133

134+
- name: Checking out hl2sdk-hl2dm
135+
uses: actions/checkout@v4
136+
with:
137+
repository: alliedmodders/hl2sdk
138+
ref: hl2dm
139+
path: hl2sdk-hl2dm
140+
141+
- name: Checking out hl2sdk-manifests
142+
uses: actions/checkout@v4
143+
with:
144+
repository: alliedmodders/hl2sdk-manifests
145+
path: hl2sdk-manifests
146+
134147
- name: Checking out own repository
135148
uses: actions/checkout@v4
136149
with:
@@ -142,7 +155,7 @@ jobs:
142155
run: |
143156
mkdir build
144157
cd build
145-
python ../configure.py --enable-optimize --sm-path="${{ github.workspace }}/sourcemod-${{ matrix.sm_version }}" --mms-path="${{ github.workspace }}/metamod-${{ matrix.mm_version }}" --targets=x86,x86_64
158+
python ../configure.py --enable-optimize --sm-path="${{ github.workspace }}/sourcemod-${{ matrix.sm_version }}" --hl2sdk-manifest-path="${{ github.workspace }}/hl2sdk-manifests" --mms-path="${{ github.workspace }}/metamod-${{ matrix.mm_version }}" --targets=x86,x86_64
146159
ambuild
147160
148161
- name: Uploading package

0 commit comments

Comments
 (0)