Skip to content

Commit

Permalink
Add stable compilation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
carstene1ns committed Jun 11, 2024
1 parent 83f139c commit 931f8c5
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions .github/workflows/stable-compilation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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:20.04 # 9.3.0 | LTS (4/25) #
- debian:11 # 10.2.1 | oldstable (8/24) #
- 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 git
- 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

0 comments on commit 931f8c5

Please sign in to comment.