Skip to content

Commit

Permalink
build debug versions of flowc and flowstdlib for use in building flow…
Browse files Browse the repository at this point in the history
…stdlib and flowsamples
  • Loading branch information
andrewdavidmackenzie committed Feb 20, 2023
1 parent 33e2bfd commit 1391dce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,17 @@ jobs:
run: ${{ matrix.install-dist }}
- name: Setup FLOW_LIB_PATH
run: echo "FLOW_LIB_PATH=$GITHUB_WORKSPACE/target" >> "$GITHUB_ENV"
- name: Ensure flowc in PATH
run: echo "PATH=$GITHUB_WORKSPACE/target/debug:$PATH" >> "$GITHUB_ENV"
- name: Run cargo-dist
# This logic is a bit janky because it's trying to be a polyglot between
# powershell and bash since this will run on windows, macos, and linux!
# The two platforms don't agree on how to talk about env vars but they
# do agree on 'cat' and '$()' so we use that to marshal values between commands.
run: |
# make sure we flowc around to compile flowstdlib and flowsamples with
cargo install flowc
# build debug versions of flowc and flowstdlib for use in building flowstdlib and flowsamples
cargo build -p flowc
cargo build -p flowstdlib
# Actually do builds and make zips and whatnot
cargo dist --target=${{ matrix.target }} --output-format=json > dist-manifest.json
echo "dist ran successfully"
Expand Down

0 comments on commit 1391dce

Please sign in to comment.