Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved workflow #2

Merged
merged 6 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Langulus::Logger CI
on: [push, pull_request, repository_dispatch] # Trigger on pushes to all branches and for all pull-requests
on: [push, repository_dispatch] # Trigger on pushes to all branches and for all pull-requests
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -43,8 +43,8 @@ jobs:
echo "Triggered by dependency: ${{github.event.client_payload.cause}}"
- name: Clone
uses: actions/checkout@v3
- if: matrix.os == 'ubuntu-22.04' && matrix.arch == 'x86' && matrix.cxx == 'g++'
name: Linux installs
- if: matrix.os == 'ubuntu-22.04' && matrix.arch == 'x86'
name: Prepare Linux for cross-compilation
run: |
sudo apt update
sudo apt install g++-multilib
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ project(LangulusLogger
)

# Check if this project is built as standalone, or a part of something else
if(PROJECT_IS_TOP_LEVEL OR NOT LANGULUS)
if (PROJECT_IS_TOP_LEVEL OR NOT LANGULUS)
include(LangulusUtilities.cmake)

# Add Langulus::Core library
Expand Down Expand Up @@ -38,7 +38,7 @@ target_link_libraries(LangulusLogger
fmt
)

if(LANGULUS_TESTING)
if (LANGULUS_TESTING)
enable_testing()
add_subdirectory(test)
endif()