Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xen-000 authored Oct 16, 2023
1 parent 6aad733 commit 0e8030c
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
linux:
name: linux build
runs-on: ubuntu-latest
env:
HL2SDKCS2: ${{ github.workspace }}/sdk
CC: clang
CXX: clang++
container:
image: idk1703/build-img:11
steps:
Expand All @@ -24,13 +28,6 @@ jobs:
ref: master
path: metamod-source

- name: Checking out hl2sdk
uses: actions/checkout@v3
with:
repository: alliedmodders/hl2sdk
ref: cs2
path: hl2sdk-cs2

- name: Checking out own repository
uses: actions/checkout@v3
with:
Expand All @@ -46,6 +43,8 @@ jobs:
windows:
name: windows build
runs-on: windows-latest
env:
HL2SDKCS2: ${{ github.workspace }}/sdk
steps:
- name: Setting up Python
uses: actions/setup-python@v4
Expand All @@ -63,13 +62,6 @@ jobs:
repository: alliedmodders/metamod-source
ref: master
path: metamod-source

- name: Checking out hl2sdk
uses: actions/checkout@v3
with:
repository: alliedmodders/hl2sdk
ref: cs2
path: hl2sdk-cs2

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

0 comments on commit 0e8030c

Please sign in to comment.