mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-28 03:34:05 -06:00
[MacOS Workflow] New dependency tarball for macOS Sonora.
This commit is contained in:
parent
64a3a38945
commit
b4d92c50fb
22
.github/workflows/mac-tests.yaml
vendored
22
.github/workflows/mac-tests.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
uses: carlosperate/download-file-action@v2
|
||||
id: dependencies
|
||||
with:
|
||||
file-url: 'https://downloads.sourceforge.net/gnucash/Dependencies/gnucash-4.900-mac-dependencies.tar.xz'
|
||||
file-url: 'https://downloads.sourceforge.net/gnucash/Dependencies/gnucash-5.6-mac-dependencies.tar.xz'
|
||||
file-name: gnucash-dependencies.tar.xz
|
||||
- name: download googletest
|
||||
uses: carlosperate/download-file-action@v2
|
||||
@ -29,25 +29,23 @@ jobs:
|
||||
with:
|
||||
file-url: 'https://github.com/google/googletest/archive/release-1.10.0.tar.gz'
|
||||
file-name: googletest.tar.gz
|
||||
- run: |
|
||||
cd $HOME
|
||||
mkdir gnucash
|
||||
cd gnucash
|
||||
- name: Extract Dependencies
|
||||
run: |
|
||||
mkdir -p $HOME/gnucash/inst
|
||||
cd $HOME/gnucash/inst
|
||||
tar -xf $GITHUB_WORKSPACE/gnucash-dependencies.tar.xz
|
||||
mkdir source
|
||||
cd source
|
||||
mkdir $HOME/gnucash/source
|
||||
cd $HOME/gnucash/source
|
||||
tar -xf $GITHUB_WORKSPACE/googletest.tar.gz
|
||||
mv googletest-* googletest
|
||||
cd ..
|
||||
ls source
|
||||
- name: Configure GnuCash
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
mkdir $HOME/gnucash/build
|
||||
cd $HOME/gnucash/build
|
||||
cmake -GNinja -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_PREFIX_PATH=$PREFIX -DWITH_PYTHON=ON -DGTEST_ROOT=$SRCROOT/googletest $GITHUB_WORKSPACE
|
||||
- name: Build and Test GnuCash
|
||||
run: |
|
||||
cd build
|
||||
cd $HOME/gnucash/build
|
||||
ninja
|
||||
ninja check
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user