-
Notifications
You must be signed in to change notification settings - Fork 18
68 lines (58 loc) · 1.7 KB
/
stable-compilation.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
name: Stable Compilation
on:
push:
pull_request:
workflow_dispatch:
inputs:
git-ref:
description: Git Ref (Optional)
required: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
docker:
name: ${{ matrix.image }}
runs-on: ubuntu-latest
container:
image: ${{ matrix.image }}
strategy:
fail-fast: false
matrix:
image:
# version of: # gcc/g++ | support end #
# --------------------------------------------
- ubuntu:22.04 # 11.2.0 | LTS (6/27) #
- debian:12 # 12.2.0 | stable (6/26) #
steps:
- name: Install dependencies
run: |
export DEBIAN_FRONTEND="noninteractive"
apt-get update
apt-get install -yqq --no-install-recommends --no-install-suggests \
ca-certificates build-essential cmake ninja-build meson git \
autoconf autoconf-archive automake autotools-dev libtool \
sed gawk patch perl pkg-config curl unzip libpulse-dev
- name: Clone Repository
uses: actions/checkout@v4
if: github.event.inputs.git-ref == ''
- name: Clone Repository (with custom ref)
uses: actions/checkout@v4
if: github.event.inputs.git-ref != ''
with:
ref: ${{ github.event.inputs.git-ref }}
- name: Download
run: |
cd linux-static
./1_download_library.sh
- name: Build and Install
run: |
cd linux-static
./2_build_toolchain.sh
- name: Cleanup
run: |
cd linux-static
./3_cleanup.sh