annotate .builds/osx.yml @ 38:1a34fd7469b9

ci/osx: take a different approach
author Paper <mrpapersonic@gmail.com>
date Fri, 22 Sep 2023 09:29:20 -0400
parents 329b7921a6be
children bed33f89a982
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 34
diff changeset
1 image: debian/stable
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 34
diff changeset
2 packages:
38
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
3 - gcc
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 34
diff changeset
4 sources:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 34
diff changeset
5 - https://hg.sr.ht/~mrpapersonic/minori
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 34
diff changeset
6 tasks:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 34
diff changeset
7 - build: |
38
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
8 curl -O darling.deb https://github.com/darlinghq/darling/releases/download/v0.1.20220704/darling_0.1.20220704.focal_amd64.deb
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
9 sudo dpkg -i darling.deb
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
10 sudo apt install --fix-broken
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
11 cd minori
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 34
diff changeset
12 mkdir build
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 34
diff changeset
13 cd build
38
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
14 darling '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
15 darling 'brew install qt5 cmake make curl clang'
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
16 darling 'cmake .. -G "Unix Makefiles"'
1a34fd7469b9 ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
17 darling 'make'