Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
yutannihilation committed Oct 16, 2024
1 parent 77cfaa9 commit 9781cb5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
error-on: '"error"'
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

- name: show R error
if: failure()
run: cat ./check/vellogd.Rcheck/00install.out
- name: show install log
if: always()
run: |
echo "--<< 00install.out >>-----------------------"
cat ./check/vellogd.Rcheck/00install.out
echo "--<< 00check.log >>-----------------------"
cat ./check/vellogd.Rcheck/00check.log
8 changes: 1 addition & 7 deletions .github/workflows/build-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,14 @@ jobs:
- uses: actions/checkout@v4

- uses: Swatinem/rust-cache@v2
if: github.ref_type != 'tag'
with:
workspaces: src/rust
shared-key: shared-cache

- name: Build Rust server
run: |
cargo version
if [ "${{ github.ref_type }}" == 'tag' ]; then
PROFILE=release
else
PROFILE=dev
fi
cargo build --profile ${PROFILE} --manifest-path ./src/rust/Cargo.toml -p vellogd-server
cargo build --release --manifest-path ./src/rust/Cargo.toml -p vellogd-server
shell: bash

- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 9781cb5

Please sign in to comment.