Mercurial > minori
annotate .builds/osx.yml @ 40:66125301ea70
ci/osx: use apt to install deb file
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 22 Sep 2023 10:52:52 -0400 |
parents | bed33f89a982 |
children | 26beda26654e |
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 |
40
66125301ea70
ci/osx: use apt to install deb file
Paper <mrpapersonic@gmail.com>
parents:
39
diff
changeset
|
9 sudo apt install ./darling.deb |
38
1a34fd7469b9
ci/osx: take a different approach
Paper <mrpapersonic@gmail.com>
parents:
35
diff
changeset
|
10 cd minori |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
11 mkdir build |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
12 cd build |
39
bed33f89a982
ci/osx: darling is different from wine
Paper <mrpapersonic@gmail.com>
parents:
38
diff
changeset
|
13 darling shell '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"' |
bed33f89a982
ci/osx: darling is different from wine
Paper <mrpapersonic@gmail.com>
parents:
38
diff
changeset
|
14 darling shell 'brew install qt5 cmake make curl clang' |
bed33f89a982
ci/osx: darling is different from wine
Paper <mrpapersonic@gmail.com>
parents:
38
diff
changeset
|
15 darling shell 'cmake .. -G "Unix Makefiles"' |
bed33f89a982
ci/osx: darling is different from wine
Paper <mrpapersonic@gmail.com>
parents:
38
diff
changeset
|
16 darling shell 'make' |