Feature: Add Windows arm64 support #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Native | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'src/main/resources/org/xerial/snappy/VERSION' | |
- 'Makefile' | |
- 'Makefile.common' | |
- '**/*.h' | |
- '**/*.cpp' | |
- .github/workflows/build-native.yml | |
pull_request: | |
paths: | |
- 'src/main/resources/org/xerial/snappy/VERSION' | |
- 'Makefile' | |
- 'Makefile.common' | |
- '**/*.h' | |
- '**/*.cpp' | |
jobs: | |
build: | |
permissions: | |
contents: write | |
pull-requests: write | |
name: Build native libraries | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.27.6' | |
- name: Build native libraries | |
run: make clean-native native-all | |
env: | |
OCI_EXE: docker | |
- name: Create Pull Request | |
if: ${{ github.event_name != 'pull_request' }} | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: Update native libraries | |
commit-message: Update native libraries for ${{ github.sha }} | |
branch: update-native-libs | |
labels: library-update |