dev - Started development of 1.3.2 #103
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 libmagic library (macOS - ARM64) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
ref: ${{ github.ref }} | |
- name: Setting up environment | |
run: | | |
brew install autoconf automake libtool | |
- 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 | |
- name: magic.mgc artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "magic.mgc" | |
path: assets/file/magic/magic.mgc |