-
-
Notifications
You must be signed in to change notification settings - Fork 88
56 lines (50 loc) · 1.5 KB
/
build_package_x86_jammy.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
name: build_package_x86_22
on:
push:
branches:
- "2.6-evo"
- "dev-release"
- "release"
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Dependencies
run: |
ls -a
sudo apt update
sudo apt-mark hold unixodbc-dev unixodbc
echo unixodbc hold | sudo dpkg --set-selections
sudo apt remove libunwind-13-dev
sudo apt install -y libunwind-dev libgstreamer-plugins-base1.0-dev
sudo apt install -y curl
sudo rm -Rf /etc/apt/sources.list.d/openhd*
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sudo apt upgrade -y
sudo add-apt-repository universe
sudo ./install_build_dep.sh ubuntu-x86
- name: Build with make
run: |
sudo ./package.sh regular x86_64 ubuntu jammy
- name: Push
id: push
if: github.ref_name == 'release' || github.ref_name == 'dev-release'
uses: cloudsmith-io/action@master
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: "push"
format: "deb"
owner: "openhd"
repo: ${{ github.ref_name }}
distro: "ubuntu"
release: "jammy"
republish: "true" # needed ONLY if version is not changing
file: "*.deb"