Skip to content

Commit

Permalink
Improved workflow (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu authored Sep 16, 2023
2 parents 834fa5a + 60a14b2 commit 71d5124
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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

0 comments on commit 71d5124

Please sign in to comment.