Skip to content

Commit

Permalink
disable workflows i am not touching- add jinja to meta.yaml to grab g…
Browse files Browse the repository at this point in the history
…it tag from repo for package building, disable varios combos for build_conda workflow for now
  • Loading branch information
ilaflott committed Jan 30, 2025
1 parent 5f61648 commit 5df2f0b
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 119 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
with_mpi: ['','--with-mpi']
enable_quad_precision: ['', '--enable-quad-precision']
# strategy:
# matrix:
# with_mpi: ['','--with-mpi']
# enable_quad_precision: ['', '--enable-quad-precision']

container:
image: ghcr.io/noaa-gfdl/fre-nctools-ci-rocky-gnu:14.2.0_v2
env:
MPI: ${{ matrix.with_mpi }}
QUAD_P: ${{ matrix.enable_quad_precision }}
# env:
# MPI: ${{ matrix.with_mpi }}
# QUAD_P: ${{ matrix.enable_quad_precision }}

steps:
- name: Checkout Files
Expand Down
74 changes: 37 additions & 37 deletions .github/workflows/distcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,40 @@
# CI testing for the FRE-NCtools repo, builds and runs unit tests
# image dockerfile is maintained here:
# https://gitlab.gfdl.noaa.gov/fre/hpc-me
name: FRE-NCtools CI
on:
workflow_run:
workflows: ["FRE-NCtools Check Expensive"]
types:
- completed
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
with_mpi: ['','--with-mpi']
enable_quad_precision: ['', '--enable-quad-precision']
container:
image: ghcr.io/noaa-gfdl/fre-nctools-ci-rocky-gnu:14.2.0_v2
env:
MPI: ${{ matrix.with_mpi }}
QUAD_P: ${{ matrix.enable_quad_precision }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure
run: |
mkdir build && cd build
autoreconf -i ../configure.ac
../configure $MPI $QUAD_P || cat config.log
- name: Build distribution with check
run: make DISTCHECK_CONFIGURE_FLAGS="$MPI $QUAD_P" -C build -j
- name: Save log file on failure
uses: actions/[email protected]
if: failure()
with:
name: test-suites
path: |
build/tests/test-suite.log
#name: FRE-NCtools CI
#on:
# workflow_run:
# workflows: ["FRE-NCtools Check Expensive"]
# types:
# - completed
#jobs:
# CI:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# with_mpi: ['','--with-mpi']
# enable_quad_precision: ['', '--enable-quad-precision']
# container:
# image: ghcr.io/noaa-gfdl/fre-nctools-ci-rocky-gnu:14.2.0_v2
# env:
# MPI: ${{ matrix.with_mpi }}
# QUAD_P: ${{ matrix.enable_quad_precision }}
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Configure
# run: |
# mkdir build && cd build
# autoreconf -i ../configure.ac
# ../configure $MPI $QUAD_P || cat config.log
# - name: Build distribution with check
# run: make DISTCHECK_CONFIGURE_FLAGS="$MPI $QUAD_P" -C build -j
# - name: Save log file on failure
# uses: actions/[email protected]
# if: failure()
# with:
# name: test-suites
# path: |
# build/tests/test-suite.log
70 changes: 35 additions & 35 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,38 @@
# CI testing for the FRE-NCtools repo, builds and runs unit tests
# image dockerfile is maintained here:
# https://gitlab.gfdl.noaa.gov/fre/hpc-me
name: FRE-NCtools CI
on: [push, pull_request]
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
with_mpi: ['','--with-mpi']
enable_quad_precision: ['', '--enable-quad-precision']
container:
image: ghcr.io/noaa-gfdl/fre-nctools-ci-rocky-gnu:14.2.0_v2
env:
MPI: ${{ matrix.with_mpi }}
QUAD_P: ${{ matrix.enable_quad_precision }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure
run: |
mkdir build && cd build
autoreconf -i ../configure.ac
../configure $MPI $QUAD_P || cat config.log
- name: Build
run: make -C build -j
- name: Run most tests (skip the slow ones)
run: make -C build -j check
- name: Save log file on failure
uses: actions/[email protected]
if: failure()
with:
name: test-suites
path: |
build/tests/test-suite.log
#name: FRE-NCtools CI
#on: [push, pull_request]
#jobs:
# CI:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# with_mpi: ['','--with-mpi']
# enable_quad_precision: ['', '--enable-quad-precision']
# container:
# image: ghcr.io/noaa-gfdl/fre-nctools-ci-rocky-gnu:14.2.0_v2
# env:
# MPI: ${{ matrix.with_mpi }}
# QUAD_P: ${{ matrix.enable_quad_precision }}
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Configure
# run: |
# mkdir build && cd build
# autoreconf -i ../configure.ac
# ../configure $MPI $QUAD_P || cat config.log
# - name: Build
# run: make -C build -j
# - name: Run most tests (skip the slow ones)
# run: make -C build -j check
# - name: Save log file on failure
# uses: actions/[email protected]
# if: failure()
# with:
# name: test-suites
# path: |
# build/tests/test-suite.log
78 changes: 39 additions & 39 deletions .github/workflows/main_expensive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,42 @@
# CI testing for the FRE-NCtools repo, builds and runs unit tests
# image dockerfile is maintained here:
# https://gitlab.gfdl.noaa.gov/fre/hpc-me
name: FRE-NCtools Check Expensive
on:
workflow_run:
workflows: ["FRE-NCtools CI"]
types:
- completed
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
with_mpi: ['','--with-mpi']
enable_quad_precision: ['', '--enable-quad-precision']
container:
image: ghcr.io/noaa-gfdl/fre-nctools-ci-rocky-gnu:14.2.0_v2
env:
MPI: ${{ matrix.with_mpi }}
QUAD_P: ${{ matrix.enable_quad_precision }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure
run: |
mkdir build && cd build
autoreconf -i ../configure.ac
../configure $MPI $QUAD_P || cat config.log
- name: Build
run: make -C build -j
- name: Run most tests (skip the slow ones)
run: make -C build check-very-expensive
- name: Save log file on failure
uses: actions/[email protected]
if: failure()
with:
name: test-suites
path: |
build/tests/test-suite.log
#name: FRE-NCtools Check Expensive
#on:
# workflow_run:
# workflows: ["FRE-NCtools CI"]
# types:
# - completed
#jobs:
# CI:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# with_mpi: ['','--with-mpi']
# enable_quad_precision: ['', '--enable-quad-precision']
# container:
# image: ghcr.io/noaa-gfdl/fre-nctools-ci-rocky-gnu:14.2.0_v2
# env:
# MPI: ${{ matrix.with_mpi }}
# QUAD_P: ${{ matrix.enable_quad_precision }}
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Configure
# run: |
# mkdir build && cd build
# autoreconf -i ../configure.ac
# ../configure $MPI $QUAD_P || cat config.log
# - name: Build
# run: make -C build -j
# - name: Run most tests (skip the slow ones)
# run: make -C build check-very-expensive
# - name: Save log file on failure
# uses: actions/[email protected]
# if: failure()
# with:
# name: test-suites
# path: |
# build/tests/test-suite.log
2 changes: 1 addition & 1 deletion meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: fre-nctools
version: 2022.02.01
version: '{{ environ.get("GIT_DESCRIBE_TAG", data.get("version")) }}'

source:
path: .
Expand Down

0 comments on commit 5df2f0b

Please sign in to comment.