some more tweaks to the workflows

This commit is contained in:
Axel Kohlmeyer
2024-08-31 04:53:09 -04:00
parent e5f8a4bec5
commit 6ebdb0b982
2 changed files with 10 additions and 6 deletions

View File

@ -5,7 +5,6 @@ on:
push:
branches:
- develop
- collected-small-changes
pull_request:
branches:
- develop
@ -15,7 +14,7 @@ on:
jobs:
build:
name: Build with -Werror=vla
if: ${{ github.repository == 'lammps/lammps' }} || ${{ github.repository == 'akohlmey/lammps'}}
if: ${{ github.repository == 'lammps/lammps' }}
runs-on: ubuntu-latest
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
@ -66,6 +65,7 @@ jobs:
-D CMAKE_CXX_FLAGS_DEBUG="-Og -g -Werror=vla" \
-D DOWNLOAD_POTENTIALS=off \
-D BUILD_MPI=on \
-D BUILD_SHARED_LIBS=off \
-D BUILD_TOOLS=off \
-D ENABLE_TESTING=off \
-D MLIAP_ENABLE_ACE=on \

View File

@ -5,7 +5,6 @@ on:
push:
branches:
- develop
- collected-small-changes
pull_request:
branches:
- develop
@ -15,7 +14,7 @@ on:
jobs:
build:
name: Linux Unit Test
if: ${{ github.repository == 'lammps/lammps' }} || ${{ github.repository == 'akohlmey/lammps'}}
if: ${{ github.repository == 'lammps/lammps' }}
runs-on: ubuntu-latest
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
@ -28,8 +27,13 @@ jobs:
- name: Install extra packages
run: |
sudo apt-get install -y ccache mold ninja-build
sudo apt-get install -y libeigen3-dev libgsl-dev libcurl4-openssl-dev python3-dev
sudo apt-get install -y ccache \
libeigen3-dev \
libgsl-dev \
libcurl4-openssl-dev \
mold \
ninja-build \
python3-dev
- name: Create Build Environment
run: mkdir build