Skip to content

Commit

Permalink
path tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
cwedgwood committed Apr 4, 2024
1 parent 4d174a7 commit 557c5a9
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
name: Rust
# Directory structure
#
# By default things occur in $GITHUB_WORKSPACE; as we have to work
# with multiple directories, to keep things clean we use
# subdirectories:
#
# $GITHUB_WORKSPACE/libnfs/ The original C-base C-targetting libnfs
# $GITHUB_WORKSPACE/rs-libnfs/ The code from this repo

name: Build rs-libnfs

on:
push:
Expand Down Expand Up @@ -26,16 +35,20 @@ jobs:
repository: cwedgwood/libnfs
path: libnfs/
ref: master
- name: Build and install libnfs (working in libnfs/)
- name: Build and install libnfs
working-directory: libnfs/
run: |
cd libnfs/
./bootstrap
./configure
make -j4
sudo make install
- name: 'Checkout (of this "rs-libnfs" repo)'
- name: Checkout rs-libnfs
uses: actions/checkout@v4
with:
path: rs-libnfs/
- name: Build rs-libnfs
working-directory: rs-libnfs/
run: cargo build --verbose
- name: Run tests
working-directory: rs-libnfs/
run: cargo test --verbose

0 comments on commit 557c5a9

Please sign in to comment.