Skip to content

Commit

Permalink
ci: ensure set target
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Oct 21, 2023
1 parent 0c6777a commit 1aa9779
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,9 @@ jobs:
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Set env vars for build option
if: matrix.config.full-features
- name: Set rust target
shell: bash
run: |
echo "RPOLARS_FULL_FEATURES=true" >>$GITHUB_ENV
echo "RPOLARS_PROFILE=release" >>$GITHUB_ENV
if [ "${{ runner.os }}" == "Windows" ]; then
echo "TARGET=x86_64-pc-windows-gnu" >>$GITHUB_ENV
elif [ "${{ runner.os }}" == "macOS" ]; then
Expand All @@ -58,6 +55,13 @@ jobs:
echo "TARGET=x86_64-unknown-linux-musl" >>$GITHUB_ENV
fi
- name: Set env vars for build option
if: matrix.config.full-features
shell: bash
run: |
echo "RPOLARS_FULL_FEATURES=true" >>$GITHUB_ENV
echo "RPOLARS_PROFILE=release" >>$GITHUB_ENV
- uses: ./.github/actions/setup
id: build-lib
with:
Expand Down

0 comments on commit 1aa9779

Please sign in to comment.