Skip to content

Commit

Permalink
Fix Actions Node.js deprecation and add log upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Feb 20, 2024
1 parent bd6b9f7 commit 6fe7d73
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:

- name: Setup C++
# Reference: https://github.com/marketplace/actions/setup-cpp-c-c
uses: aminya/setup-cpp@v0.36.1
uses: aminya/setup-cpp@v0.37.0
if: matrix.compiler != 'apple'
with:
compiler: ${{ matrix.compiler }}
Expand Down Expand Up @@ -292,7 +292,7 @@ jobs:
# fi

# -------------------------------------------------------
# Build & Test
# Build
# -------------------------------------------------------

- name: Build
Expand All @@ -313,6 +313,10 @@ jobs:
cmake --build ./build -- -j 2
# -------------------------------------------------------
# Test
# -------------------------------------------------------

- name: Tests
id: test
if: >
Expand All @@ -335,3 +339,15 @@ jobs:
# GDBEXE="sudo gdb"
# fi
${GDBEXE} -ex "set confirm off" -iex "set pagination off" -ex "run" -ex "thread apply all bt" -ex "quit" --args ./bin/test/genesis_tests
# -------------------------------------------------------
# Logs
# -------------------------------------------------------

- name: Upload Logs
if: always()
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.build_type }}-htslib-${{ matrix.htslib }}
path: |
build/**/*.log

0 comments on commit 6fe7d73

Please sign in to comment.