Skip to content

Commit

Permalink
Revert "Maybe revert this - quick test"
Browse files Browse the repository at this point in the history
This reverts commit 941a79e.
  • Loading branch information
baconpaul committed Jan 16, 2024
1 parent c95aca9 commit ce39889
Showing 1 changed file with 76 additions and 3 deletions.
79 changes: 76 additions & 3 deletions .github/workflows/pullreq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,83 @@ jobs:
strategy:
matrix:
include:
- os: windows-latest
cmakeargs: -A x64
install_ninja: false
name: Windows 64bit MSVC

- os: windows-latest
cmakeargs: -A x64 -DCLAP_HELPERS_TESTS_CXX_STANDARD=20
install_ninja: false
name: Windows 64bit C++20 MSVC

- os: windows-latest
cmakeargs: -GNinja -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
install_ninja: true
name: Windows gcc/minGW

- os: windows-latest
cmakeargs: -GNinja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
install_ninja: true
name: Windows clang

- os: ubuntu-latest
cmakeargs: -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_C_COMPILER=gcc-11
install_ninja: false
name: Linux gcc11

- os: ubuntu-latest
cmakeargs: -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_C_COMPILER=gcc-12
install_ninja: false
name: Linux gcc12

- os: ubuntu-latest
cmakeargs: -DCLAP_HELPERS_TESTS_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_C_COMPILER=gcc-12
install_ninja: false
name: Linux gcc12 C++20

- os: ubuntu-latest
name: Linux
cmakeargs: -DCLAP_HELPERS_TESTS_CXX_STANDARD=23 -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_C_COMPILER=gcc-12
install_ninja: false
name: Linux gcc12 C++23

- os: macos-latest
cmakeargs: -GNinja
install_ninja: true
name: MacOS Ninja

- os: macos-latest
cmakeargs: -G"Xcode"
install_ninja: false
name: MacOS Xcode

- os: macos-latest
cmakeargs: -G"Ninja Multi-Config" -DCLAP_HELPERS_TESTS_CXX_STANDARD=20
install_ninja: true
name: MacOS Ninja Multi C++20

- os: macos-latest
cmakeargs: -G"Unix Makefiles"
install_ninja: false
name: MacOS Unix Makefiles

steps:
- name: Echo
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive

- name: Install Ninja
if: ${{ matrix.install_ninja }}
uses: seanmiddleditch/gha-setup-ninja@master

- name: Build project
run: |
cmake -S . -B ./build ${{ matrix.cmakeargs }} -DCMAKE_BUILD_TYPE=Debug -DCLAP_HELPERS_BUILD_TESTS=TRUE
cmake --build ./build --config Debug clap-helpers-tests
- name: Run Tests
shell: bash
run: |
echo "Hello World"
echo "Run Tests Here"
exit 3

0 comments on commit ce39889

Please sign in to comment.