YML: Fix compilation with GH Actions

This commit is contained in:
cypress 2024-01-07 18:14:35 -05:00
parent 51b4ce3819
commit a6e109b3fd
4 changed files with 9 additions and 3 deletions

View file

@ -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

View file

@ -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}

View file

@ -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}

View file

@ -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