Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gamcil committed Dec 5, 2023
1 parent d1742d1 commit 30b02db
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
STATIC: 0
MPI: 1
BUILD_TYPE: RelWithDebInfo
- SIMD: ASAN
- SIMD: AVX2
STATIC: 0
MPI: 0
BUILD_TYPE: ASanOpt
Expand All @@ -74,16 +74,16 @@ jobs:
submodules: true

- name: Install G++
if: matrix.BUILD_TYPE == 'ASanOpt'
run: |
sudo apt-get install -y g++-12
sudo apt-get update
sudo apt-get install -y g++-12 rustc cargo
- name: Install Dependencies
if: matrix.MPI == 1
run: |
sudo apt-get update
sudo apt-get -y install mpi-default-dev mpi-default-bin
- name: Build Foldmason
run: |
mkdir build
Expand Down Expand Up @@ -135,6 +135,10 @@ jobs:
CPREF: aarch64

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install Toolchain
run: |
sudo dpkg --add-architecture ${{ matrix.ARCH }}
Expand All @@ -150,6 +154,7 @@ jobs:
HEREDOC
sudo apt-get update
sudo apt-get -y install -o APT::Immediate-Configure=false crossbuild-essential-${{ matrix.ARCH }} zlib1g-dev:${{ matrix.ARCH }} libbz2-dev:${{ matrix.ARCH }}
rustup target add ${{ matrix.CPREF }}-unknown-linux-gnu
- name: Build Cross
run: |
Expand All @@ -159,6 +164,7 @@ jobs:
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_EXE_LINKER_FLAGS="-static -static-libgcc -static-libstdc++" \
-DCMAKE_FIND_LIBRARY_SUFFIXES=".a" \
-DRust_CARGO_TARGET=${{ matrix.CPREF }}-unknown-linux-gnu \
-DENABLE_WERROR=1 -DHAVE_${{ matrix.SIMD }}=1 ..
make -j $(nproc --all)
Expand Down

0 comments on commit 30b02db

Please sign in to comment.