Skip to content

Commit

Permalink
feat: add proto-file based code gen
Browse files Browse the repository at this point in the history
  • Loading branch information
j-lanson committed Aug 12, 2024
1 parent 6921fdf commit 28f5b72
Show file tree
Hide file tree
Showing 9 changed files with 785 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/hipcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,33 @@ jobs:
- uses: swatinem/rust-cache@v2
with:
key: ${{ matrix.os }}
#name: Install protoc dependency - Linux
- if: runner.os == 'Linux'
run: sudo apt-get install -y protobuf-compiler
#name: Install protoc dependency - MacOS
- if: runner.os == 'macOS'
run: brew install protobuf
#name: Install protoc dependency - Windows
- if: runner.os == 'Windows'
run: |
curl -L -O https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-win64.zip
unzip -j protoc-27.3-win64.zip bin/protoc.exe -d C:\Windows\System32\
# run: |
# if [ "$RUNNER_OS" == "Linux" ]; then
# sudo apt-get install -y protobuf-compiler
# elif [ "$RUNNER_OS" == "macOS" ]; then
# brew install protobuf
# elif [ "$RUNNER_OS" == "Windows" ]; then
# curl -O https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-win64.zip
# unzip protoc-27.3-win64.zip C:\\Windows\\System32
# else
# echo "$RUNNER_OS not supported"
# exit 1
# fi
# - if: runner.os == 'MacOS'
# run: sudo brew install protobuf
# - if: runner.os == 'Linux'
# run: sudo apt-get install -y protobuf-compiler
- name: Dependency Tree
run: cargo tree
- name: Build
Expand Down
Loading

0 comments on commit 28f5b72

Please sign in to comment.