From 75ce881f1aa61770d153e331a23c6d7c3dffff0c Mon Sep 17 00:00:00 2001 From: Aptivi Date: Thu, 16 May 2024 11:12:10 +0300 Subject: [PATCH] und - Build libmagic for macOS ARM64 --- Type: und Breaking: False Doc Required: False Part: 1/1 --- .github/workflows/build-mgc-mac-arm64.yml | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build-mgc-mac-arm64.yml diff --git a/.github/workflows/build-mgc-mac-arm64.yml b/.github/workflows/build-mgc-mac-arm64.yml new file mode 100644 index 0000000..c44b206 --- /dev/null +++ b/.github/workflows/build-mgc-mac-arm64.yml @@ -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