Added option to print pck file content hashes #53
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: Continuous integration | |
on: [push, pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-20.04 | |
name: Linux (Release) | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qqq build-essential cmake ninja-build | |
- name: Build and install using CMake | |
env: | |
CMAKE_GENERATOR: Ninja | |
run: | | |
cmake -B build -DCMAKE_BUILD_TYPE=Release | |
cmake --build build | |
sudo cmake --build build --target install | |
- name: Run the compiled and installed binary (smoke test) | |
run: | | |
godotpcktool --help | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: godotpcktool-linux-x86_64-glibc2.31 | |
path: build/src/godotpcktool | |
windows: | |
runs-on: ubuntu-20.04 | |
name: Windows (MinGW, Release) | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qqq build-essential cmake ninja-build gcc-mingw-w64 g++-mingw-w64 | |
- name: Build and install using CMake | |
env: | |
CMAKE_GENERATOR: Ninja | |
run: | | |
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=cmake/mingw-w64-x86_64.cmake | |
cmake --build build | |
sudo cmake --build build --target install | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: godotpcktool-windows-x86_64 | |
path: build/src/godotpcktool.exe |