Skip to content

Commit

Permalink
240220.151252.HKT triger cmake_pi/nagfor by pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Feb 20, 2024
1 parent cdef2a7 commit 292b884
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
if: ${{ matrix.toolchain.cc }}
run: echo "CC=${{ matrix.toolchain.cc }}" >> $env:GITHUB_ENV

- name: Build
- name: Build and test
run: |
cmake --version
cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=. -LAH -DCMAKE_C_FLAGS="${{ matrix.toolchain.cflags }}" -DCMAKE_Fortran_FLAGS="${{ matrix.toolchain.fflags }}" .
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
if: ${{ matrix.toolchain.compiler == 'flang' }}
run: bash .github/scripts/install_flang

- name: Build
- name: Build and test
run: |
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=. -LAH -DCMAKE_C_FLAGS="${{ matrix.toolchain.cflags }}" -DCMAKE_Fortran_FLAGS="${{ matrix.toolchain.fflags }}" .
cmake --build . --target install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Miscellaneous setup
run: bash .github/scripts/misc_setup

- name: Build
- name: Build and test
shell: bash
run: |
export CC=${{ matrix.cc }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_mac_nagfor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Miscellaneous setup
run: bash .github/scripts/misc_setup

- name: Build
- name: Build and test
shell: bash
run: |
export CC=${{ matrix.cc }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cmake_nagfor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CMake build, nagfor

on:
# Trigger the workflow on push or pull request
#push:
push:
#pull_request: # DANGEROUS! MUST be disabled for self-hosted runners!
# Trigger the workflow by cron. The default time zone of GitHub Actions is UTC.
schedule:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Miscellaneous setup
run: bash .github/scripts/misc_setup

- name: Build
- name: Build and test
run: |
source ~/local/bin/nag_licensing || echo "\n\nNAG licensing failed.\n\n"
export CFLAGS="-Wall -Wextra -Wpedantic -Werror"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cmake_pi.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CMake build on Raspberry Pi

on:
#push:
push:
schedule:
- cron: '0 16 * * 6' # 16h Saturday
workflow_dispatch:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Miscellaneous setup
run: bash .github/scripts/misc_setup

- name: Build
- name: Build and test
shell: bash
run: |
export CC=gcc
Expand Down

0 comments on commit 292b884

Please sign in to comment.