Skip to content

Force the alignment of SoA and AoS Particles #1

Force the alignment of SoA and AoS Particles

Force the alignment of SoA and AoS Particles #1

Workflow file for this run

name: AlpineLinux
on: [push, pull_request]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-aline-linux
cancel-in-progress: true
jobs:
check_changes:
uses: ./.github/workflows/check_changes.yml
# Build libamrex and all tests
tests_build_3D:
name: GNU@13 C++17 3D Release [tests]
runs-on: ubuntu-latest
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
- uses: actions/checkout@v4
- uses: jirutka/setup-alpine@v1
with:
arch: x86
branch: v3.15
# - name: Dependencies
# run: |
# .github/workflows/dependencies/dependencies_gcc.sh 13
# .github/workflows/dependencies/dependencies_clang-tidy-apt-llvm.sh 17
# .github/workflows/dependencies/dependencies_ccache.sh
# - name: Set Up Cache
# uses: actions/cache@v4
# with:
# path: ~/.cache/ccache
# key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
# restore-keys: |
# ccache-${{ github.workflow }}-${{ github.job }}-git-

Check failure on line 36 in .github/workflows/alpine.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/alpine.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
- name: Build & Install
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -O1 -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"}
# It's too slow with -O0
shell: alpine.sh {0}
run: |
# export CCACHE_COMPRESS=1
# export CCACHE_COMPRESSLEVEL=10
# export CCACHE_MAXSIZE=400M
# export CCACHE_EXTRAFILES=${{ github.workspace }}/.clang-tidy
# export CCACHE_LOGFILE=${{ github.workspace }}/ccache.log.txt
# ccache -z
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DAMReX_FFT=ON \
-DAMReX_EB=ON \
-DAMReX_ENABLE_TESTS=ON \
-DAMReX_FORTRAN=OFF \
-DAMReX_SPACEDIM=3
# -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
cmake --build build -j 4
ctest --test-dir build --output-on-failure
# ccache -s
# du -hs ~/.cache/ccache