Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for copying GEOSCHEMchem rc and yaml files to install/etc #286

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/validate_yaml_files.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
---

# Based on code from https://github.com/marketplace/actions/yaml-lint

name: Yaml Lint

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

# This validation is equivalent to running on the command line:
# yamllint -d relaxed --no-warnings
# and is controlled by the .yamllint.yml file
jobs:
validate-YAML:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- id: yaml-lint
name: yaml-lint
uses: ibiqlik/action-yamllint@v3
Expand All @@ -17,7 +24,7 @@ jobs:
format: colored
config_file: .yamllint.yml

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: always()
with:
name: yamllint-logfile
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
- Removed variable WLI from HEMCO grid comp module for compatibility with HEMCO v3.8
- Updating CMakeLists in GEOSCHEMchem to copy all rc and yaml files to install/etc needed to run GEOS with GEOS-Chem

### Fixed

Expand Down
22 changes: 22 additions & 0 deletions GEOSCHEMchem_GridComp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,25 @@ install(
FILES ${resource_files}
DESTINATION etc
)

file (GLOB resource_files1 CONFIGURE_DEPENDS
"@geos-chem/run/GEOS/*.rc"
"@geos-chem/run/GEOS/*.yml"
"@geos-chem/run/GEOS/*.yaml"
)

install(
FILES ${resource_files1}
DESTINATION etc
)

file (GLOB resource_files2 CONFIGURE_DEPENDS
"@geos-chem/run/GEOS/TransportTracers/*.rc"
"@geos-chem/run/GEOS/TransportTracers/*.yml"
"@geos-chem/run/GEOS/TransportTracers/*.yaml"
)

install(
FILES ${resource_files2}
DESTINATION etc/geos_chem_transport_tracers/
)