Skip to content

Commit

Permalink
common: disable Main builds
Browse files Browse the repository at this point in the history
  • Loading branch information
janekmi committed Mar 19, 2024
1 parent d592364 commit 427f343
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,40 +52,40 @@ jobs:
run: make -j$(nproc) cstyle


basic_build:
name: Basic build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- CC: gcc
CXX: g++
- CC: clang
CXX: clang++
steps:
- name: Clone the git repo
uses: actions/checkout@v4
# basic_build:
# name: Basic build
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# include:
# - CC: gcc
# CXX: g++
# - CC: clang
# CXX: clang++
# steps:
# - name: Clone the git repo
# uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt-get -y install pandoc
# - name: Install dependencies
# run: sudo apt-get -y install pandoc

- name: Build sources
env:
NDCTL_ENABLE: n # just to speed up the job
PMEMOBJ_IGNORE_DIRTY_SHUTDOWN: y # not recommended for production
PMEMOBJ_IGNORE_BAD_BLOCKS: y # not recommended for production
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
run: make -j$(nproc) test
# - name: Build sources
# env:
# NDCTL_ENABLE: n # just to speed up the job
# PMEMOBJ_IGNORE_DIRTY_SHUTDOWN: y # not recommended for production
# PMEMOBJ_IGNORE_BAD_BLOCKS: y # not recommended for production
# CC: ${{ matrix.CC }}
# CXX: ${{ matrix.CXX }}
# run: make -j$(nproc) test


call-ubuntu:
needs: [src_checkers, basic_build]
uses: ./.github/workflows/ubuntu.yml
name: Ubuntu
# call-ubuntu:
# needs: [src_checkers, basic_build]
# uses: ./.github/workflows/ubuntu.yml
# name: Ubuntu

coverage_scan:
needs: [src_checkers, basic_build]
uses: ./.github/workflows/scan_coverage.yml
name: Coverage
# coverage_scan:
# needs: [src_checkers, basic_build]
# uses: ./.github/workflows/scan_coverage.yml
# name: Coverage

0 comments on commit 427f343

Please sign in to comment.