Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/common-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
build_command:
required: true
type: string
ext_install_command:
ext_pkg_build_command:
required: true
type: string
test_cases:
Expand Down Expand Up @@ -112,7 +112,12 @@ jobs:
run: make -j4 install

- name: Compress ISSM artifact
run: tar --exclude='./externalpackages/petsc/src' -cvf ISSM_artifact-${{ runner.os }}-${{ inputs.build_type }}.tar -C ${{ env.ISSM_DIR }}/ .
run: |
rm -rf .git
find externalpackages -maxdepth 1 -name src -exec rm -rf {} \;
find externalpackages -maxdepth 1 -name *tar.gz -exec rm -rf {} \;
find externalpackages -maxdepth 1 -name *zip -exec rm -rf {} \;
tar --exclude='./externalpackages/petsc/src' -cvf ISSM_artifact-${{ runner.os }}-${{ inputs.build_type }}.tar -C ${{ env.ISSM_DIR }}/ .

- name: Upload ISSM artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
--with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \
--with-semic-dir="${ISSM_DIR}/externalpackages/semic/install" \
--with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install"
ext_install_command: |
ext_pkg_build_command: |
cd $ISSM_DIR/externalpackages/triangle && ./install-linux.sh
cd $ISSM_DIR/externalpackages/m1qn3 && ./install-linux.sh
cd $ISSM_DIR/externalpackages/petsc && ./install-3.22-linux.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-codipack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
--with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \
--with-medipack-dir="${ISSM_DIR}/externalpackages/medipack/install" \
--with-codipack-dir="${ISSM_DIR}/externalpackages/codipack/install"
ext_install_command: |
ext_pkg_build_command: |
cd $ISSM_DIR/externalpackages/triangle && ./install-linux.sh
cd $ISSM_DIR/externalpackages/m1qn3 && ./install-linux.sh
cd $ISSM_DIR/externalpackages/petsc && ./install-3.22-linux.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
--with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \
--with-semic-dir="${ISSM_DIR}/externalpackages/semic/install" \
--with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install"
ext_install_command: |
ext_pkg_build_command: |
cd $ISSM_DIR/externalpackages/triangle && ./install-linux.sh
cd $ISSM_DIR/externalpackages/m1qn3 && ./install-linux.sh
cd $ISSM_DIR/externalpackages/petsc && ./install-3.22-linux.sh
Expand Down
Loading