Skip to content

Commit

Permalink
ci: add linuxbrew build
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Nov 18, 2024
1 parent d42b8c2 commit da2824b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/brew.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Brew tests impl

on:
workflow_call:

jobs:
build_linuxbrew:
name: Build on linxbrew
runs-on: ubuntu-latest
container:
image: homebrew/brew:latest

steps:
- name: Checkout mamba repository
uses: actions/checkout@v1

- name: Correct the creation permissions
run: sudo chown -R linuxbrew .

- name: Install prerequisites
run: brew install fmt libarchive libsolv lz4 openssl@3 reproc simdjson xz yaml-cpp zstd cmake cli11 nlohmann-json spdlog tl-expected curl pkgconfig python

- name: Configure
run: cmake -S. -Bbuild -DBUILD_LIBMAMBA=ON -DBUILD_MAMBA=ON -DBUILD_SHARED=ON -DBUILD_STATIC=OFF

- name: Build
run: cmake --build build -j4
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ jobs:
with:
os: ${{ matrix.os }}
build_type: ${{ matrix.build_type }}

brew_tests:
name: Brew
uses: ./.github/workflows/brew.yml

0 comments on commit da2824b

Please sign in to comment.