Print hash of Mac executable into Github Actions (#763)

This commit is contained in:
EmeraldLockdown 2025-04-21 22:54:55 -05:00 committed by GitHub
parent 36d8e3c870
commit 651fe31bd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,6 @@ jobs:
- name: Install dependencies
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install make mingw-w64 gcc sdl2 pkg-config glew glfw3 libusb coreutils
- name: Build the game
@ -85,6 +84,12 @@ jobs:
run: |
codesign --force --deep --sign - ./build/us_pc/sm64coopdx.app
- name: Generate hash
run: |
cd tools
g++ -std=c++17 -o hash_file hash_file.cpp
echo "::notice ::$(./hash_file ../build/us_pc/sm64coopdx.app/Contents/MacOS/sm64coopdx)"
- name: Zip the .app bundle
run: |
cd ./build/us_pc
@ -105,7 +110,6 @@ jobs:
- name: Install dependencies
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install make mingw-w64 gcc@9 sdl2 pkg-config glew glfw3 libusb coreutils
- name: Build the game
@ -116,6 +120,12 @@ jobs:
run: |
codesign --force --deep --sign - ./build/us_pc/sm64coopdx.app
- name: Generate hash
run: |
cd tools
g++ -std=c++17 -o hash_file hash_file.cpp
echo "::notice ::$(./hash_file ../build/us_pc/sm64coopdx.app/Contents/MacOS/sm64coopdx)"
- name: Zip the .app bundle
run: |
cd ./build/us_pc