Skip to content

تحديث البناء التجريبي #220

تحديث البناء التجريبي

تحديث البناء التجريبي #220

Workflow file for this run

name: Github actions
on:
push:
schedule:
- cron: '0 8 * * 0'
jobs:
Build:
name: build
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
image_tag: [old, stable, trunk]
build_type: [Debug, Release]
container: ghcr.io/mehdichinoune/debian-gfortran-testing:${{ matrix.image_tag }}
steps:
- uses: actions/checkout@v4
- name: Preparing Data
env:
USERNAME: ${{ secrets.LPDAAC_USERNAME }}
PASSWORD: ${{ secrets.LPDAAC_PASSWORD }}
run: |
echo machine urs.earthdata.nasa.gov >> ~/.netrc
echo http-user="$USERNAME" >> ~/.wgetrc
echo http-password="$PASSWORD" >> ~/.wgetrc
- name: Configuring
run: |
cmake \
-GNinja \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DHDF5_ROOT=/usr/local/HDF_Group/HDF5/1.14.4 \
-B build \
-S .
- name: Building
run: ninja -C build
- name: Running
run: build/main