Skip to content

Commit

Permalink
test linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-seaice committed Jul 22, 2024
1 parent 9e07670 commit 9b575bb
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions .github/workflows/test-cice_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,31 @@ jobs:
uses: ConorMacBride/install-package@v1
with:
apt: csh
- name: system info
- name: system info
shell: /bin/bash {0}
run: |
type wget
type curl
type csh
echo "readlink \$(which csh): $(python -c 'import os, sys; print(os.path.realpath(sys.argv[1]))' $(which csh))"
echo "csh --version: $(csh --version)"
echo "uname -a: $(uname -a)"
echo "sw_vers: $(sw_vers)"
echo "HOME: $HOME"
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
# echo "OS: ${{ matrix.os }}"
# echo "ENVDEF: ${{ matrix.envdef }}"
# echo "MINICOND: ${{ matrix.minicond }}"
- name: clone CICE
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: link
run: |
ln -s ${GITHUB_WORKSPACE}/../CICE ${HOME}/cice
# ls -al ${HOME}/
# ls -al ${GITHUB_WORKSPACE}/
# - name: install conda environment
# uses: conda-incubator/setup-miniconda@v3
# with:
Expand All @@ -48,22 +69,7 @@ jobs:
conda init tcsh
cd $HOME/cice
conda env create -f configuration/scripts/machines/environment.yml
- name: system info
shell: /bin/bash {0}
run: |
conda env list
type wget
type curl
type csh
echo "readlink \$(which csh): $(python -c 'import os, sys; print(os.path.realpath(sys.argv[1]))' $(which csh))"
echo "csh --version: $(csh --version)"
echo "uname -a: $(uname -a)"
echo "sw_vers: $(sw_vers)"
echo "HOME: $HOME"
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
# echo "OS: ${{ matrix.os }}"
# echo "ENVDEF: ${{ matrix.envdef }}"
# echo "MINICOND: ${{ matrix.minicond }}"
- name: make test directories
run: |
ln -s ${GITHUB_WORKSPACE}/../CICE ${HOME}/cice
Expand Down

0 comments on commit 9b575bb

Please sign in to comment.