Skip to content

Commit

Permalink
Try bash
Browse files Browse the repository at this point in the history
  • Loading branch information
yutannihilation committed Aug 1, 2022
1 parent 54de985 commit 93f4e7e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/check-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,16 @@ jobs:
# For M1 macOS
rustup target add aarch64-apple-darwin
$env:LIBRSYS_R_VERSION="$(Rscript ./tools/print_r_version.R)"
echo $env:LIBRSYS_R_VERSION
. "${HOME}/.cargo/env" && cd ./check/string2path.Rcheck/00_pkg_src/string2path/src/rust/ && cargo build --target=aarch64-apple-darwin --lib --release --offline
(
export LIBRSYS_R_VERSION="$(Rscript ./tools/print_r_version.R)"
. "${HOME}/.cargo/env"
cd ./check/string2path.Rcheck/00_pkg_src/string2path/src/rust/
cargo build --target=aarch64-apple-darwin --lib --release --offline
)
mv ./check/string2path.Rcheck/00_pkg_src/string2path/src/rust/target/aarch64-apple-darwin/release/libstring2path.a staticlib/aarch64-apple-darwin-libstring2path.a
ls ./staticlib
shell: pwsh
- name: Upload staticlib
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 93f4e7e

Please sign in to comment.