(file_progress_show_total): use 'copied_bytes' to show numeric value.
[midnight-commander.git] / .github / workflows / ci-macos.yml
blob42204e4661ab5281df497041bb66525facb4c44e
1 name: ci-macos
3 on:
4   workflow_call:
5     inputs:
6       CFLAGS:
7         description: 'Custom CFLAGS'
8         default: ''
9         required: false
10         type: string
12 jobs:
13   build-macos:
14     runs-on: macos-latest
15     timeout-minutes: 5
17     steps:
18       - uses: actions/checkout@v4
20       - name: Install dependencies
21         run: |
22           brew install autoconf automake gettext check gnu-indent libtool pkg-config
23           brew install aspell e2fsprogs glib libssh2 openssl s-lang
25           # unzip is part of the base system
27       - name: Bootstrap build system
28         run: ./autogen.sh
30       - name: Build default configuration
31         run: |
32           export CFLAGS="${{ inputs.CFLAGS }}"
34           ./configure \
35             --prefix="$(pwd)/install-prefix" \
36             --enable-mclib \
37             --enable-aspell=/opt/homebrew
39           make -j$(sysctl -n hw.logicalcpu)
40           make check
41           make install
43       - uses: actions/upload-artifact@v4
44         if: failure()
45         with:
46           name: test-suite-logs-macos
47           path: ./**/test-suite.log