-
Notifications
You must be signed in to change notification settings - Fork 8
88 lines (72 loc) · 2.24 KB
/
build2.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: Build and release
on:
push:
# branches-ignore:
# - '**'
###############################################
jobs:
build_mac_arm64:
name: "MacOS 14 arm64 clang"
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Download deplibs
uses: ./build_scripts/download_deplibs
with:
basedir: ${{ github.workspace }}/target
- name: Build libcuemol2
uses: ./build_scripts/build_libcuemol2_posix
with:
basedir: ${{ github.workspace }}/target
- name: Build cuetty
uses: ./build_scripts/build_cuetty_posix
with:
basedir: ${{ github.workspace }}/target
- name: Check cuetty run
shell: bash
run: |
set -eux
BASEDIR=${{ github.workspace }}/target
ls -la $BASEDIR/cuemol2/bin/cuetty
$BASEDIR/cuemol2/bin/cuetty
- name: Build UXP GUI
id: build-artifact
uses: ./build_scripts/build_uxpgui_posix
with:
basedir: ${{ github.workspace }}/target
- name: Upload artifact
# env:
# ARTIFACT_NAME: cuemol2_${{ runner.os }}_${{ runner.arch }}.tar.bz2
uses: actions/upload-artifact@v4
with:
name: cuemol2_macos_arm64
path: ${{ steps.build-artifact.outputs.artifact-path }}
# path: ${{ env.ARTIFACT_NAME }}
# build_linux_x64:
# name: "Linux ubuntu 22.04 x64 gcc"
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
# - name: Run sccache-cache
# uses: mozilla-actions/[email protected]
# - name: Download deplibs
# uses: ./build_scripts/download_deplibs
# with:
# basedir: ${{ github.workspace }}/target
# - name: Build libcuemol2
# uses: ./.github/actions/build_libcuemol2_posix
# with:
# basedir: ${{ github.workspace }}/target
# - name: Build cuetty
# uses: ./.github/actions/build_cuetty_posix
# with:
# basedir: ${{ github.workspace }}/target
# - name: Check cuetty run
# shell: bash
# run: |
# set -eux
# BASEDIR=${{ github.workspace }}/target
# ls -la $BASEDIR/cuemol2/bin/cuetty
# $BASEDIR/cuemol2/bin/cuetty