✨ added hash seeding and changed hashvalue identifier to hash64 #179
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: msvc:windows | |
on: push | |
jobs: | |
build: | |
strategy: | |
matrix: | |
build_mode: ["Release", "Debug"] | |
os: ["windows-2022"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Cache and Install Dependencies | |
id: cache-and-install | |
uses: actions/cache@v4 | |
with: | |
path: | | |
${{ github.workspace }}/.deps | |
key: ${{ matrix.os }}-${{ hashFiles('**/lockfiles') }}-${{ hashFiles('CMakeLists.txt') }}-${{ hashFiles('vcpkg.json') }} | |
- name: Install VCPKG | |
if: steps.cache-and-install.outputs.cache-hit != 'true' | |
run: | | |
git clone --depth=1 https://github.com/microsoft/vcpkg.git ${{ github.workspace }}/.deps/vcpkg | |
cd ${{ github.workspace }}/.deps/vcpkg | |
./bootstrap-vcpkg.bat -disableMetrics | |
- name: Install Dependencies, Configure, and Build Ashura | |
env: | |
VCPKG_ROOT: ${{ github.workspace }}/.deps/vcpkg | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -DVCPKG_HOST_TRIPLET=x64-windows -DVCPKG_INSTALLED_DIR=${{ env.VCPKG_ROOT }}/installed | |
cmake --build . --config ${{ matrix.build_mode }} | |
- name: Run Tests | |
run: | | |
cd build/${{ matrix.build_mode }}/ | |
./ashura_std_tests.exe | |
./ashura_engine_tests.exe |