Skip to content

Commit

Permalink
fix(workflows/integration): Remove unecessary rustup installation
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Dec 18, 2023
1 parent 8d400c3 commit 0cfe006
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,24 @@ name: integration

on:
push:
branches: [ '**' ]
branches: ["**"]
pull_request:
branches: [ '**' ]
branches: ["**"]
schedule:
- cron: '0 6 * * 1-5'
- cron: "0 6 * * 1-5"

jobs:
build:

name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macOS-latest ]
os: [ubuntu-latest, macOS-latest]

steps:
- uses: actions/checkout@v4

- name: Install latest stable
uses: actions-rs/toolchain@v1.0.7
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Clone this repository
uses: actions/checkout@v4

- name: Compile debug
run: make all
Expand All @@ -52,8 +45,8 @@ jobs:
- name: Test debug
run: make test
env:
BUILD_TYPE: Debug # Workaround for Windows as it seems the previous step is being ignored
BUILD_TESTING: OFF # Workaround for Windows as it seems the previous step is being ignored
BUILD_MULTICAST: OFF # Workaround for Windows as it seems the previous step is being ignored
BUILD_TYPE: Debug # Workaround for Windows as it seems the previous step is being ignored
BUILD_TESTING: OFF # Workaround for Windows as it seems the previous step is being ignored
BUILD_MULTICAST: OFF # Workaround for Windows as it seems the previous step is being ignored
BUILD_INTEGRATION: ON # Workaround for Windows as it seems the previous step is being ignored
ZENOH_BRANCH: master
1 change: 1 addition & 0 deletions tests/api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if [ ! -f zenohd ]; then
if [ -n "$ZENOH_BRANCH" ]; then
git switch "$ZENOH_BRANCH"
fi
rustup show
cargo build --lib --bin zenohd
cp ./target/debug/zenohd "$TESTDIR"/
cd "$TESTDIR"|| exit
Expand Down
1 change: 1 addition & 0 deletions tests/routed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if [ ! -f zenohd ]; then
if [ -n "$ZENOH_BRANCH" ]; then
git switch "$ZENOH_BRANCH"
fi
rustup show
cargo build --lib --bin zenohd
cp ./target/debug/zenohd "$TESTDIR"/
cd "$TESTDIR" || exit
Expand Down

0 comments on commit 0cfe006

Please sign in to comment.