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 #4

Merged
merged 5 commits into from
Sep 16, 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
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Langulus::Logger CI
on: [push, repository_dispatch] # Trigger on pushes to all branches and for all pull-requests
on: [push, repository_dispatch]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -41,13 +41,16 @@ jobs:
if: ${{ startsWith(github.event.action, 'Dependency') }}
run: >
echo "Triggered by dependency: ${{github.event.client_payload.cause}}"

- name: Clone
uses: actions/checkout@v3

- if: matrix.os == 'ubuntu-22.04' && matrix.arch == 'x86'
name: Prepare Linux for cross-compilation
run: |
sudo apt update
sudo apt install g++-multilib

- name: Configure
run: >
cmake
Expand All @@ -56,7 +59,9 @@ jobs:
-B out
-DCMAKE_BUILD_TYPE=${{matrix.build}}
${{matrix.cmake_args}}

- name: Build
run: cmake --build out --config ${{matrix.build}}

- name: Test
run: cd out && ctest -V -C ${{matrix.build}}
1 change: 1 addition & 0 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
build:
strategy:
fail-fast: false
matrix:
dependents: [RTTI, SIMD, Fractalloc, Anyness, Flow, Math, Entity]
name: Trigger Langulus::${{matrix.dependents}}'s workflow
Expand Down