From 26dfce5992d95970e2c8b82fab5cdea407e3c9ed Mon Sep 17 00:00:00 2001 From: "(Jip) Willem Wijnia" Date: Tue, 12 Nov 2024 15:54:43 +0100 Subject: [PATCH] Introduce a test workflow (#1) --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02fa315..5d55479 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,12 +41,13 @@ jobs: # clone everything that we need - uses: actions/checkout@v4 with: - path: fa-python-binary-patcher + repository: FAForever/FA-Binary-Patches + ref: 'master' + path: . - uses: actions/checkout@v4 with: - repository: FAForever/FA-Binary-Patches - path: fa-binary-patches + path: fa-python-binary-patcher # install everything that we need - uses: actions/setup-python@v5 @@ -65,11 +66,11 @@ jobs: # download base executable - name: Download base executable - run: curl -L "https://content.faforever.com/build/ForgedAlliance_base.exe" -o ForgedAlliance_base.exe + run: | + curl -L "https://content.faforever.com/build/ForgedAlliance_base.exe" -o ForgedAlliance_base.exe # patch it, if it works then we're good - name: Patch base executable run: | - echo "#define gitsha \"${{ github.sha }}\"" > workflow.cpp mkdir build python ./fa-python-binary-patcher/main.py "$(pwd)" clang++ ld g++