Skip to content

fix indentation

fix indentation #33

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Main CI
# Controls when the action will run.
on:
# Triggers the workflow on all push or pull request events
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
env:
COMPILER: ${{ matrix.compiler }}
BUILD_OS: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-18.04]
compiler: ['gcc', 'clang', 'gcc-9', 'gcc-10', 'clang-9', 'clang-10']
include:
- os: ubuntu-18.04
compiler: 'gcc-i386-cross'
- os: ubuntu-18.04
compiler: 'clang-i386-cross'
- os: ubuntu-18.04
compiler: 'gcc-mips64-cross'
- os: ubuntu-18.04
compiler: 'gcc-arm32-cross'
- os: ubuntu-18.04
compiler: 'gcc-arm64-cross'
- os: ubuntu-22.04
compiler: 'gcc'
- os: ubuntu-22.04
compiler: 'clang'
- os: ubuntu-22.04
compiler: 'gcc-11'
- os: ubuntu-22.04
compiler: 'gcc-12'
- os: ubuntu-22.04
compiler: 'clang-11'
- os: ubuntu-22.04
compiler: 'clang-12'
- os: ubuntu-22.04
compiler: 'clang-13'
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
submodules: recursive
- name: before_install
run: sh -x scripts/build/install_depends.sh
- name: script
run: sh -x scripts/build/do_build.sh
- name: Notify slack fail
if: failure() && github.repository == 'OpenSIPS/opensips'
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel: devel
status: FAILED
color: danger