File: macos.yml

package info (click to toggle)
ipe 7.2.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,844 kB
  • sloc: cpp: 42,635; makefile: 664; sh: 44; xml: 17; ansic: 14; python: 7
file content (28 lines) | stat: -rw-r--r-- 811 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Build Ipe on MacOS with Homebrew
on: workflow_dispatch
jobs:
  Build:
    runs-on: macos-latest
    env:
      OSXTARGET: -mmacosx-version-min=12.00 -target arm64-apple-macos12
    steps:
      - name: Check out repository code
        uses: actions/checkout@v4
      - name: Install libraries
        run: |
          brew install lua gsl libspiro
      - name: Pkg-config
        run: |
          uname -a
          pkg-config --cflags --libs lua
          pkg-config --cflags --libs gsl
          pkg-config --cflags --libs libspiro
          pkg-config --cflags --libs libpng
          pkg-config --cflags --libs cairo
          pkg-config --cflags --libs freetype2
      - name: Compile
        run: |
          cd src
          make
          make app
      - run: 'echo "Status ${{ job.status }}"'