Skip to content

Commit

Permalink
ci: need env var set in Bash
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Sep 6, 2023
1 parent a09a5da commit b2039e0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: ci

env:
GEMINI_CIROOT: ${{ github.workspace }}/data_gemci
GEMCI_ROOT: ${{ github.workspace }}/gemci
CMAKE_BUILD_TYPE: Release
CMAKE_PREFIX_PATH: ${{ github.workspace }}/libgem
HOMEBREW_NO_INSTALL_CLEANUP: 1
CTEST_NO_TESTS_ACTION: error

on:
push:
Expand Down Expand Up @@ -69,6 +67,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: setup environment variables
run: |
echo "CMAKE_PREFIX_PATH=${{ github.workspace }}/libgem" >> $GITHUB_ENV
echo "GEMINI_CIROOT=${{ github.workspace }}/data_gemci" >> $GITHUB_ENV
echo "GEMCI_ROOT=${{ github.workspace }}/gemci" >> $GITHUB_ENV
- name: Checkout Gemini3D-External
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit b2039e0

Please sign in to comment.