Skip to content

Commit

Permalink
CI: Fix GitHub Actions (3).
Browse files Browse the repository at this point in the history
  • Loading branch information
kouchy committed Nov 4, 2023
1 parent c38187c commit 1eb8554
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Generate Headers & Compare
run: ./scripts/generate_aff3ct_header.sh aff3ct-core.hpp
run: diff aff3ct-core.hpp include/aff3ct-core.hpp
- run: ./scripts/generate_aff3ct_header.sh aff3ct-core.hpp
- run: diff aff3ct-core.hpp include/aff3ct-core.hpp
- name: Upload Artifacs
uses: actions/upload-artifact@v3
with:
Expand All @@ -25,13 +25,13 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Build
run: export CXX="g++"
run: export CFLAGS="-Wall -funroll-loops -m64 -mavx2 -mfma"
run: export LFLAGS="-static -static-libgcc -static-libstdc++ -Wl,--whole-archive -lrt -lpthread -Wl,--no-whole-archive"
run: export CMAKE_OPT="-DAFF3CT_CORE_TESTS=ON -DAFF3CT_CORE_COMPILE_STATIC_LIB=ON -DAFF3CT_CORE_COMPILE_SHARED_LIB=ON"
run: export NAME="build_linux_gcc_x64_avx2"
run: source ./ci/tools/threads.sh
run: ./ci/build-linux-macos.sh
- run: export CXX="g++"
- run: export CFLAGS="-Wall -funroll-loops -m64 -mavx2 -mfma"
- run: export LFLAGS="-static -static-libgcc -static-libstdc++ -Wl,--whole-archive -lrt -lpthread -Wl,--no-whole-archive"
- run: export CMAKE_OPT="-DAFF3CT_CORE_TESTS=ON -DAFF3CT_CORE_COMPILE_STATIC_LIB=ON -DAFF3CT_CORE_COMPILE_SHARED_LIB=ON"
- run: export NAME="build_linux_gcc_x64_avx2"
- run: source ./ci/tools/threads.sh
- run: ./ci/build-linux-macos.sh
- name: Upload Artifacs
uses: actions/upload-artifact@v3
with:
Expand All @@ -45,12 +45,12 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Build
run: export CXX="g++"
run: export CFLAGS="-Wall -funroll-loops -msse4.2 --coverage"
run: export LFLAGS="--coverage"
run: export CMAKE_OPT="-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG=-O0 -DAFF3CT_CORE_TESTS=ON -DAFF3CT_CORE_COMPILE_STATIC_LIB=ON -DAFF3CT_CORE_COMPILE_SHARED_LIB=ON"
run: source ./ci/tools/threads.sh
run: ./ci/build-linux-macos.sh
- run: export CXX="g++"
- run: export CFLAGS="-Wall -funroll-loops -msse4.2 --coverage"
- run: export LFLAGS="--coverage"
- run: export CMAKE_OPT="-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG=-O0 -DAFF3CT_CORE_TESTS=ON -DAFF3CT_CORE_COMPILE_STATIC_LIB=ON -DAFF3CT_CORE_COMPILE_SHARED_LIB=ON"
- run: source ./ci/tools/threads.sh
- run: ./ci/build-linux-macos.sh
- name: Upload Artifacs
uses: actions/upload-artifact@v3
with:
Expand All @@ -64,12 +64,12 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Build
run: export CXX="clang++"
run: export CFLAGS="-Wall -Wno-overloaded-virtual -funroll-loops"
run: export CMAKE_OPT="-DAFF3CT_CORE_TESTS=ON -DAFF3CT_CORE_COMPILE_STATIC_LIB=ON -DAFF3CT_CORE_COMPILE_SHARED_LIB=ON"
run: export NAME="build_linux_clang"
run: source ./ci/tools/threads.sh
run: ./ci/build-linux-macos.sh
- run: export CXX="clang++"
- run: export CFLAGS="-Wall -Wno-overloaded-virtual -funroll-loops"
- run: export CMAKE_OPT="-DAFF3CT_CORE_TESTS=ON -DAFF3CT_CORE_COMPILE_STATIC_LIB=ON -DAFF3CT_CORE_COMPILE_SHARED_LIB=ON"
- run: export NAME="build_linux_clang"
- run: source ./ci/tools/threads.sh
- run: ./ci/build-linux-macos.sh
- name: Upload Artifacs
uses: actions/upload-artifact@v3
with:
Expand All @@ -83,12 +83,12 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Build
run: export CXX="icpc"
run: export CFLAGS="-Wall -funroll-loops -march=native -std=c++11"
run: export CMAKE_OPT="-DAFF3CT_CORE_TESTS=ON -DAFF3CT_CORE_COMPILE_STATIC_LIB=ON -DAFF3CT_CORE_COMPILE_SHARED_LIB=ON"
run: export NAME="build_linux_icpc"
run: source ./ci/tools/threads.sh
run: ./ci/build-linux-macos.sh
- run: export CXX="icpc"
- run: export CFLAGS="-Wall -funroll-loops -march=native -std=c++11"
- run: export CMAKE_OPT="-DAFF3CT_CORE_TESTS=ON -DAFF3CT_CORE_COMPILE_STATIC_LIB=ON -DAFF3CT_CORE_COMPILE_SHARED_LIB=ON"
- run: export NAME="build_linux_icpc"
- run: source ./ci/tools/threads.sh
- run: ./ci/build-linux-macos.sh
- name: Upload Artifacs
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 1eb8554

Please sign in to comment.