Skip to content

Commit

Permalink
231227.203830.HKT revise cmake.yml and profile_int16.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Dec 27, 2023
1 parent 8642953 commit be255a6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
strategy:
fail-fast: false
matrix:
# See https://github.com/fortran-lang/setup-fortran?tab=readme-ov-file#runner-compatibility
# for the toolchains provided by fortran-lang/setup-fortran. We test the latest three on each OS.
# First define the toolchains on Linux and macOS.
os: [ubuntu-latest, macos-latest]
toolchain:
- {compiler: gcc, version: 11, cflags: '-Wall -Wextra -Wpedantic -Werror', fflags: '-Wall -Wextra -Wpedantic -Werror -fimplicit-none -frecursive -fcheck=all -fstack-check -Wno-function-elimination'}
Expand All @@ -37,13 +40,17 @@ jobs:
- {compiler: intel-classic, version: '2021.7', cflags: '-diag-disable=10441', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics -assume recursion'}
- {compiler: intel-classic, version: '2021.8', cflags: '-diag-disable=10441', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics -assume recursion'}
- {compiler: intel-classic, version: '2021.9', cflags: '-diag-disable=10441', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics -assume recursion'}

include:
# intel compiler (ifx) does not support macOS. So they are not included above but below.
- os: ubuntu-latest
toolchain: {compiler: intel, version: '2023.0', cflags: '', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics -assume recursion'}
- os: ubuntu-latest
toolchain: {compiler: intel, version: '2023.1', cflags: '', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics -assume recursion'}
- os: ubuntu-latest
toolchain: {compiler: intel, version: '2023.2', cflags: '', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics -assume recursion'}

# What follows contains the toolchains for Windows, including gcc, intel classic, and intel.
- os: windows-latest
toolchain: {compiler: gcc, version: 11, cflags: '-Wall -Wextra -Wpedantic -Werror', fflags: '-Wall -Wextra -Wpedantic -Werror -fimplicit-none -frecursive -fcheck=all -fstack-check -Wno-function-elimination'}
- os: windows-latest
Expand Down
33 changes: 17 additions & 16 deletions .github/workflows/profile_int16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,19 +192,20 @@ 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 ./*
# As of 20231228, it often fails with "Unable to download and extract artifact: Request timeout"
# 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 ./*

0 comments on commit be255a6

Please sign in to comment.