Skip to content

Commit bdefe5b

Browse files
committed
Fix CI
1 parent 6aad733 commit bdefe5b

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.github/workflows/build.yml

+7-15
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
linux:
1515
name: linux build
1616
runs-on: ubuntu-latest
17+
env:
18+
HL2SDKCS2: ${{ github.workspace }}/cs2fixes/sdk
19+
CC: clang
20+
CXX: clang++
1721
container:
1822
image: idk1703/build-img:11
1923
steps:
@@ -24,13 +28,6 @@ jobs:
2428
ref: master
2529
path: metamod-source
2630

27-
- name: Checking out hl2sdk
28-
uses: actions/checkout@v3
29-
with:
30-
repository: alliedmodders/hl2sdk
31-
ref: cs2
32-
path: hl2sdk-cs2
33-
3431
- name: Checking out own repository
3532
uses: actions/checkout@v3
3633
with:
@@ -46,6 +43,8 @@ jobs:
4643
windows:
4744
name: windows build
4845
runs-on: windows-latest
46+
env:
47+
HL2SDKCS2: ${{ github.workspace }}/cs2fixes/sdk
4948
steps:
5049
- name: Setting up Python
5150
uses: actions/setup-python@v4
@@ -63,13 +62,6 @@ jobs:
6362
repository: alliedmodders/metamod-source
6463
ref: master
6564
path: metamod-source
66-
67-
- name: Checking out hl2sdk
68-
uses: actions/checkout@v3
69-
with:
70-
repository: alliedmodders/hl2sdk
71-
ref: cs2
72-
path: hl2sdk-cs2
7365

7466
- name: Checking out own repository
7567
uses: actions/checkout@v3
@@ -81,4 +73,4 @@ jobs:
8173
working-directory: cs2fixes
8274
run: |
8375
python3 configure.py --enable-optimize --symbol-files --sdks cs2
84-
ambuild objdir
76+
ambuild objdir

0 commit comments

Comments
 (0)