Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ jobs:
id: get_version
run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y pkg-config libre2-dev

- name: Install cross-compilation tools (aarch64)
if: matrix.arch == 'aarch64'
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu

- name: Build with CMake
Expand Down Expand Up @@ -78,6 +82,9 @@ jobs:
id: get_version
run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT

- name: Install dependencies
run: brew install re2 pkg-config

- name: Build with CMake
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }}
Expand Down Expand Up @@ -117,6 +124,9 @@ jobs:
id: get_version
run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT

- name: Install dependencies
run: brew install re2 pkg-config

- name: Build Universal Binary
run: |
# Build for x86_64
Expand Down Expand Up @@ -179,9 +189,13 @@ jobs:
- name: Setup MSVC
uses: microsoft/setup-msbuild@v2

- name: Install vcpkg dependencies
run: |
vcpkg install re2:${{ matrix.platform }}-windows

- name: Build with CMake
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch }}
cmake -B build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch }} -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build --config Release

- name: Package artifacts
Expand Down
Loading