From 686a6c909ae9c0b366f059b32bc9c86fc2e53b1c Mon Sep 17 00:00:00 2001 From: "zer0.k" Date: Thu, 14 Dec 2023 01:30:08 +0700 Subject: [PATCH] CI fix --- .github/workflows/build.yaml | 2 +- README.md | 6 +++--- docker-entrypoint.sh | 2 +- hl2sdk-manifests | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) create mode 120000 hl2sdk-manifests diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 27d59c8a1..fb0b2d875 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -71,7 +71,7 @@ jobs: - name: Configure AMBuild working-directory: build - run: python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "/metamod-source/hl2sdk-manifests" -s cs2 --targets x86_64 + run: python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "/hl2sdk-manifests" -s cs2 --targets x86_64 - name: Update version header shell: bash diff --git a/README.md b/README.md index b887c5d98..1dcc11f15 100644 --- a/README.md +++ b/README.md @@ -69,20 +69,20 @@ Windows (ambuild/msvc): ``` mkdir build cd build -python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "../metamod-source/hl2sdk-manifests" -s cs2 --targets x86_64 +python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "/hl2sdk-manifests" -s cs2 --targets x86_64 ambuild ``` For windows debugging with VS, build the project then add the following command at the end: ``` -python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "../metamod-source/hl2sdk-manifests" -s cs2 --targets x86_64 --gen=vs --vs-version 17 +python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "/hl2sdk-manifests" -s cs2 --targets x86_64--gen=vs --vs-version 17 ``` Linux (ambuild/clang): ``` mkdir build cd build -python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "/../metamod-source/hl2sdk-manifests" -s cs2 --targets x86_64 +python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "/hl2sdk-manifests" -s cs2 --targets x86_64 ambuild ``` diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index a178e0db5..170be0723 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,5 +1,5 @@ #!/bin/bash cd build -python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "/metamod-source/hl2sdk-manifests" -s cs2 --targets x86_64 +python3 ../configure.py --hl2sdk-root "../" --mms_path "../metamod-source" --hl2sdk-manifest "/hl2sdk-manifests" -s cs2 --targets x86_64 ambuild diff --git a/hl2sdk-manifests b/hl2sdk-manifests new file mode 120000 index 000000000..06750e7ad --- /dev/null +++ b/hl2sdk-manifests @@ -0,0 +1 @@ +metamod-source/hl2sdk-manifests \ No newline at end of file