mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 06:31:44 +00:00
YML: Fix compilation with GH Actions
This commit is contained in:
parent
51b4ce3819
commit
a6e109b3fd
4 changed files with 9 additions and 3 deletions
6
.github/workflows/compile-and-release.yml
vendored
6
.github/workflows/compile-and-release.yml
vendored
|
@ -5,6 +5,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Install Python and Libraries
|
||||
run: |
|
||||
sudo -i
|
||||
apt update && apt install python3 python3-pip wget
|
||||
wget https://raw.githubusercontent.com/nzp-team/QCHashTableGenerator/main/requirements.txt
|
||||
pip install -r requirements.txt
|
||||
- uses: actions/checkout@v3
|
||||
- name: Clone Repository
|
||||
working-directory: ./tools
|
||||
|
|
|
@ -4,7 +4,7 @@ cd ../
|
|||
|
||||
# generate hash table
|
||||
echo "Generating Hash Table.."
|
||||
python bin/qc_hash_generator.py -i tools/asset_conversion_table.csv -o source/server/hash_table.qc
|
||||
python3 bin/qc_hash_generator.py -i tools/asset_conversion_table.csv -o source/server/hash_table.qc
|
||||
|
||||
# create build directories
|
||||
mkdir -p build/{fte,standard}
|
||||
|
|
|
@ -4,7 +4,7 @@ cd ../
|
|||
|
||||
# generate hash table
|
||||
echo "Generating Hash Table.."
|
||||
python bin/qc_hash_generator.py -i tools/asset_conversion_table.csv -o source/server/hash_table.qc
|
||||
python3 bin/qc_hash_generator.py -i tools/asset_conversion_table.csv -o source/server/hash_table.qc
|
||||
|
||||
# create build directories
|
||||
mkdir -p build/{fte,standard}
|
||||
|
|
|
@ -4,7 +4,7 @@ CD ../
|
|||
|
||||
REM ****** generate hash table ******
|
||||
echo Generating Hash Table..
|
||||
python bin\qc_hash_generator.py -i tools\asset_conversion_table.csv -o source\server\hash_table.qc
|
||||
python3 bin\qc_hash_generator.py -i tools\asset_conversion_table.csv -o source\server\hash_table.qc
|
||||
|
||||
REM ****** create build directories ******
|
||||
MKDIR build\fte\ 2>nul
|
||||
|
|
Loading…
Reference in a new issue