Skip to content

Commit

Permalink
231229.072930.HKT revise workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Dec 28, 2023
1 parent 5b0d6da commit 7957237
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 35 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/cmake_nagfor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
source ~/local/bin/nag_licensing || echo "\n\nNAG licensing failed.\n\n"
# Use $(( )) rather than $(expr ). See https://unix.stackexchange.com/questions/63166/bash-e-exits-when-let-or-expr-evaluates-to-0
FFLAGS=-O$(($(date +%-d) % 5))
FFLAGS=${FFLAGS/O0/g}
FFLAGS=${FFLAGS/O4/fast}
export FFLAGS
export FC=nagfor
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=. -LAH -DCMAKE_C_FLAGS="" -DCMAKE_Fortran_FLAGS="${FFLAGS}" .
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/profile_all_sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,19 +193,19 @@ jobs:
run: rm -rf ./matlab/tests/testdata && rm -rf /tmp/${{ env.SOLNAME }}_profile_prima


merge_artifacts:
runs-on: ubuntu-latest
if: always()
needs: test
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4.0.0
- name: Move all artifacts to the current directory
run: ls -al && mv */* ./ && ls -al
- name: Upload all files
uses: actions/upload-artifact@v4.0.0
with:
name: all
path: ./*
- name: Remove all files
run: ls -al && rm -rf ./*
# merge_artifacts:
# runs-on: ubuntu-latest
# if: always()
# needs: test
# steps:
# - name: Download all workflow run artifacts
# uses: actions/download-artifact@v4.0.0
# - name: Move all artifacts to the current directory
# run: ls -al && mv */* ./ && ls -al
# - name: Upload all files
# uses: actions/upload-artifact@v4.0.0
# with:
# name: all
# path: ./*
# - name: Remove all files
# run: ls -al && rm -rf ./*
32 changes: 16 additions & 16 deletions .github/workflows/profile_compiler_options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,19 +189,19 @@ jobs:
run: bash scripts/check_success_timeout_big_test ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.run_id }}


merge_artifacts:
runs-on: ubuntu-latest
if: always()
needs: test
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4.0.0
- name: Move all artifacts to the current directory
run: ls -al && mv */* ./ && ls -al
- name: Upload all files
uses: actions/upload-artifact@v4.0.0
with:
name: all
path: ./*
- name: Remove all files
run: ls -al && rm -rf ./*
# merge_artifacts:
# runs-on: ubuntu-latest
# if: always()
# needs: test
# steps:
# - name: Download all workflow run artifacts
# uses: actions/download-artifact@v4.0.0
# - name: Move all artifacts to the current directory
# run: ls -al && mv */* ./ && ls -al
# - name: Upload all files
# uses: actions/upload-artifact@v4.0.0
# with:
# name: all
# path: ./*
# - name: Remove all files
# run: ls -al && rm -rf ./*
2 changes: 1 addition & 1 deletion fortran/examples/bobyqa/bobyqa_example.f90
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
!
! Started: July 2020
!
! Last Modified: Tuesday, May 30, 2023 PM06:26:48
! Last Modified: Friday, December 29, 2023 AM06:44:07
!--------------------------------------------------------------------------------------------------!


Expand Down

0 comments on commit 7957237

Please sign in to comment.