Skip to content

Commit

Permalink
und - Build libmagic for macOS ARM64
Browse files Browse the repository at this point in the history
---

Type: und
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed May 16, 2024
1 parent 860bac2 commit 75ce881
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-mgc-mac-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build libmagic library (macOS - ARM64)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
ref: ${{ github.ref }}
- name: libmagic compilation
run: |
cd assets/file ; autoreconf -f -i ; ./configure --disable-silent-rules ; make -j4
- name: libmagic artifacts
uses: actions/upload-artifact@v4
with:
name: "libmagic library"
path: assets/file/src/.libs/libmagic.1.dylib

0 comments on commit 75ce881

Please sign in to comment.