Skip to content

Commit

Permalink
ci: build macos with homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Oct 14, 2023
1 parent 1aee8a4 commit 35363bc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -738,3 +738,27 @@ jobs:
artifacts/uarch-riscv-tests-json-logs-*.tar.gz
artifacts/cartesi-machine-*.deb
artifacts/uarch-ram.bin
build_homebrew:
name: Build (homebrew)
runs-on: macos-12
steps:
- name: Checkout machine emulator source code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run:
brew install llvm@12 automake boost libomp wget cmake pkg-config grpc zlib openssl [email protected] libb64 nlohmann-json luarocks
luarocks --lua-dir=$(brew --prefix)/opt/[email protected] install lpeg
luarocks --lua-dir=$(brew --prefix)/opt/[email protected] install dkjson
luarocks --lua-dir=$(brew --prefix)/opt/[email protected] install luasocket
luarocks --lua-dir=$(brew --prefix)/opt/[email protected] install luasec
luarocks --lua-dir=$(brew --prefix)/opt/[email protected] install luaposix
luarocks --lua-dir=$(brew --prefix)/opt/[email protected] install md5
- name: Build
run: make submodules
make downloads
make dep
make
make install

0 comments on commit 35363bc

Please sign in to comment.