Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mclrc committed Oct 17, 2023
1 parent ef9fdda commit 0f6fa0a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,19 @@ on:

env:
CARGO_TERM_COLOR: always
CSPICE_DIR: /workflow/cspice

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Show PWD
run: pwd
- uses: actions/checkout@v3
- name: Show PWD 2
run: pwd
- name: Cache CSPICE
id: cache-cspice
uses: actions/cache@v3
with:
path: /workflow/cspice
path: $GITHUB_WORKSPACE/cspice
key: cspice-install
- name: Download CSPICE
if: steps.cache-cspice.outputs.cache-hit != 'true'
Expand All @@ -34,6 +29,9 @@ jobs:
gzip -d cspice.tar.Z &&
tar xf cspice.tar &&
mv cspice/lib/cspice.a cspice/lib/libcspice.a
- name: Set CSPICE_DIR
run:
echo "CSPICE_DIR=$(readlink -f cspice)" >> $GITHUB_ENV
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down

0 comments on commit 0f6fa0a

Please sign in to comment.