Skip to content

Commit

Permalink
Introduce a test workflow (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas authored Nov 12, 2024
1 parent d7ccbaa commit 26dfce5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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++

0 comments on commit 26dfce5

Please sign in to comment.