Skip to content

Commit

Permalink
Another version
Browse files Browse the repository at this point in the history
  • Loading branch information
stcui007 committed Sep 29, 2023
1 parent 716065b commit d439ecd
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/ngen_integration.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,4 @@
name: Ngen Integration Tests

# Controls when the action will run.
on:
push:
branches: [ master, dev, notreal ]
pull_request:
branches: [ master, dev, notreal ]
#workflow_dispatch:
workflow_call:

env:
# Obtained from https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
# TODO: add something later that can check the runners for hyperthreading
LINUX_NUM_PROC_CORES: 2
MACOS_NUM_PROC_CORES: 3
ASAN_OPTIONS: detect_leaks=false

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# Run general unit tests in linux environment
test_surfacebmi_plus_cfe:
Expand All @@ -31,9 +13,14 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
repository: noaa-owp/ngen
path: ngen
-
uses: ./ngen/.github/actions/ngen-build

- name: Build Ngen
uses: NOAA-OWP/ngen/.github/actions/ngen-build/action.yaml@master
#uses: NOAA-OWP/ngen/.github/actions/ngen-build/action.yaml@master
with:
targets: "ngen"
build-cores: ${{ env.LINUX_NUM_PROC_CORES }}
Expand Down

0 comments on commit d439ecd

Please sign in to comment.