mirror of https://github.com/koreader/koreader
[CI] Mac OS app (#6955)
* use 7z instead of dmg * osx: use always writable pathsreviewable/pr6978/r1
parent
a0eb91d6ab
commit
4345201e0e
@ -0,0 +1,34 @@
|
|||||||
|
name: test
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macos-latest]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: XCode version
|
||||||
|
run: xcode-select -p
|
||||||
|
|
||||||
|
- name: Check out Git repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Homebrew install dependencies
|
||||||
|
# Compared to the README, adds ccache for faster compilation times and removes sh5sum to prevent some conflict with coreutils
|
||||||
|
# Compared to the emulator, adds p7zip and removes sdl2.
|
||||||
|
run: brew install ccache nasm ragel binutils coreutils libtool autoconf automake cmake makedepend lua@5.1 luarocks gettext pkg-config wget p7zip
|
||||||
|
|
||||||
|
- name: Building in progress…
|
||||||
|
run: export MACOSX_DEPLOYMENT_TARGET=10.14 PATH="/usr/local/opt/gettext/bin:$PATH" && ./kodev release macos
|
||||||
|
|
||||||
|
- name: Uploading artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: osx-artifacts
|
||||||
|
path: '*.7z'
|
Loading…
Reference in New Issue