mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Print hash of Mac executable into Github Actions (#763)
This commit is contained in:
parent
36d8e3c870
commit
651fe31bd8
1 changed files with 12 additions and 2 deletions
14
.github/workflows/build-coop.yaml
vendored
14
.github/workflows/build-coop.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue