Skip to content

Commit

Permalink
disable ubuntu test
Browse files Browse the repository at this point in the history
  • Loading branch information
pjessesco committed Dec 31, 2024
1 parent 8a3aeef commit 35284e9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 31 deletions.
62 changes: 32 additions & 30 deletions .github/workflows/unittest_ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
name: Unit Test (Ubuntu)

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
# Run unittest on debug config only
BUILD_TYPE: Debug

jobs:
build:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DTEST=ON

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build/test
run: ./PeanutTest

# TODO
#
#name: Unit Test (Ubuntu)
#
#on:
# push:
# branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
#
#env:
# # Run unittest on debug config only
# BUILD_TYPE: Debug
#
#jobs:
# build:
# runs-on: ubuntu-22.04
#
# steps:
# - uses: actions/checkout@v3
#
# - name: Configure CMake
# run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DTEST=ON
#
# - name: Build
# # Build your program with the given configuration
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
#
# - name: Test
# working-directory: ${{github.workspace}}/build/test
# run: ./PeanutTest
#
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![Unit Test (macOS, AppleClang)](https://github.com/pjessesco/peanut/actions/workflows/unittest_macos_appleclang.yml/badge.svg?branch=main)](https://github.com/pjessesco/peanut/actions/workflows/unittest_macos_appleclang.yml)
[![Unit Test (macOS, Clang)](https://github.com/pjessesco/peanut/actions/workflows/unittest_macos_clang.yml/badge.svg?branch=main)](https://github.com/pjessesco/peanut/actions/workflows/unittest_macos_clang.yml)
[![Unit Test (Ubuntu)](https://github.com/pjessesco/peanut/actions/workflows/unittest_ubuntu.yml/badge.svg?branch=main)](https://github.com/pjessesco/peanut/actions/workflows/unittest_ubuntu.yml)
[![Unit Test (Windows MSVC)](https://github.com/pjessesco/peanut/actions/workflows/unittest_windows_msvc.yml/badge.svg?branch=main)](https://github.com/pjessesco/peanut/actions/workflows/unittest_windows_msvc.yml)
[![Unit Test (Windows Clang)](https://github.com/pjessesco/peanut/actions/workflows/unittest_windows_clang.yml/badge.svg?branch=main)](https://github.com/pjessesco/peanut/actions/workflows/unittest_windows_clang.yml)
[![Deploy doxygen documents](https://github.com/pjessesco/peanut/actions/workflows/docs.yml/badge.svg?branch=main)](https://github.com/pjessesco/peanut/actions/workflows/docs.yml)
Expand Down

0 comments on commit 35284e9

Please sign in to comment.