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

View File

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