some more tweaks to the workflows
This commit is contained in:
4
.github/workflows/check-vla.yml
vendored
4
.github/workflows/check-vla.yml
vendored
@ -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 \
|
||||
|
||||
12
.github/workflows/unittest-linux.yml
vendored
12
.github/workflows/unittest-linux.yml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user