-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (34 loc) · 1.93 KB
/
Copy pathlinux.yml
File metadata and controls
46 lines (34 loc) · 1.93 KB
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
name: Linux Platform Build
on: [pull_request]
jobs:
linux-build:
name: "Linux-Build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install LLVM's C++ Standard Library
run: sudo apt-get install libc++-20-dev libc++abi-20-dev
- name: Installing pipx
run: sudo apt install pipx
- name: Installing Prerequisites for Linux
run: |
sudo apt-get update
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
- name: Installing Conan
run: pipx install "conan>=2.18.1"
- name: Setting up Conan Profiles
run: conan config install -sf profiles/x86_64/linux/ -tf profiles https://github.com/engine3d-dev/conan-config.git
- name: Adding Conan remote dependencies
run: |
conan remote add engine3d-conan https://libhal.jfrog.io/artifactory/api/conan/engine3d-conan
conan remote add libhal-trunk https://libhal.jfrog.io/artifactory/api/conan/trunk-conan
- name: Creating Release build for audio-cpp
shell: pwsh
run: conan create . -b missing -s build_type=Release -pr linux_x86_64 -c tools.system.package_manager:sudo=True -c tools.system.package_manager:mode=install
- name: Creating Debug build for audio-cpp
shell: pwsh
run: conan create . -b missing -s build_type=Debug -pr linux_x86_64 -c tools.system.package_manager:sudo=True -c tools.system.package_manager:mode=install
- name: Creating MinSizeRel build for audio-cpp
shell: pwsh
run: conan create . -b missing -s build_type=MinSizeRel -pr linux_x86_64 -c tools.system.package_manager:sudo=True -c tools.system.package_manager:mode=install