Skip to content

Commit

Permalink
set-env -> env files migration
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoPombal committed Oct 19, 2020
1 parent f7dfbe7 commit ef581d8
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,30 @@ jobs:

- name: setup environment - static build
if: matrix.build_variant == 'static'
shell: bash
run: |
echo "::set-env name=LIBT_STATIC_RT::ON"
echo "::set-env name=LIBT_BSL::OFF"
echo "::set-env name=VCPKG_TRIPLET::x64-windows-static"
echo "::set-env name=BUILD_VARIANT::static"
echo "LIBT_STATIC_RT=ON" >> $GITHUB_ENV
echo "LIBT_BSL=OFF" >> $GITHUB_ENV
echo "VCPKG_TRIPLET=x64-windows-static" >> $GITHUB_ENV
echo "BUILD_VARIANT=static" >> $GITHUB_ENV
- name: setup environment - don't build with deprecated functions
if: matrix.deprecated_functions == 'no_depr_fun'
shell: bash
run: |
echo "::set-env name=LIBT_DEPR_FUN::OFF"
echo "LIBT_DEPR_FUN=OFF" >> $GITHUB_ENV
- name: setup environment - don't build tests
if: matrix.build_tests == 'no_tests'
shell: bash
run: |
echo "::set-env name=LIBT_TESTS::OFF"
echo "LIBT_TESTS=OFF" >> $GITHUB_ENV
- name: setup environment - don't build with python bindings
if: matrix.python_bindings == 'no_py_bindings'
shell: bash
run: |
echo "::set-env name=LIBT_PY_BINDINGS::OFF"
echo "LIBT_PY_BINDINGS=OFF" >> $GITHUB_ENV
# NOTE: MSVC tools must be in the path for the Ninja generator. Caveat: must use cmd
- name: setup MSVC dev cmd
Expand Down

0 comments on commit ef581d8

Please sign in to comment.