Merge pull request #11 from aidan-gibson/master #4
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install libmobi build dependencies | |
run: brew install autoconf automake libtool | |
- name: Fetch libmobi | |
run: git clone https://github.com/bfabiszewski/libmobi.git | |
- name: Build and install libmobi | |
run: ( cd libmobi && ./autogen.sh && ./configure CFLAGS="-arch x86_64 -arch arm64" && make && sudo make install ) | |
- name: Build QLMobi | |
run: xcodebuild |