Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[[email protected]] fix: OpenBSD compatible #2282

Closed
wants to merge 12 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings
MSRV: "1.67"
MSRV: "1.75"


jobs:
Expand All @@ -31,13 +31,13 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}

- name: check
run: cargo check --all --bins --tests

- name: tests
run: cargo test --all

build_and_test_windows:
name: Build and test (Windows)
runs-on: ${{ matrix.os }}
Expand All @@ -60,11 +60,11 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}

- uses: msys2/setup-msys2@v2
- name: check
run: cargo check --all --bins --tests --target ${{ matrix.target }}

- name: check bench
if: matrix.rust == 'nightly'
run: cargo check --target ${{ matrix.target }} --benches
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:

- name: Install rust
# See https://github.com/cross-rs/cross/issues/1222
uses: dtolnay/rust-toolchain@1.67
uses: dtolnay/rust-toolchain@1.75

- name: Install cross
run: cargo install cross
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
# uses: actions/checkout@master
# with:
# submodules: recursive

# - name: Install rust stable
# uses: dtolnay/rust-toolchain@stable

Expand All @@ -269,7 +269,7 @@ jobs:
# git clone https://github.com/n0-computer/chuck.git
# cd chuck
# cargo build --release

# - name: Install netsim deps
# run: |
# cd chuck/netsim
Expand All @@ -288,16 +288,16 @@ jobs:
# sudo mn --clean
# sudo python3 main.py --integration sims/standard/iroh.json

# - name: Setup Environment (PR)
# if: ${{ github.event_name == 'pull_request' }}
# shell: bash
# run: |
# - name: Setup Environment (PR)
# if: ${{ github.event_name == 'pull_request' }}
# shell: bash
# run: |
# echo "LAST_COMMIT_SHA=$(git rev-parse --short ${{ github.event.pull_request.head.sha }})" >> ${GITHUB_ENV}
# echo "HEAD_REF=${{ github.event.pull_request.head.ref }}" >> ${GITHUB_ENV}
# - name: Setup Environment (Push)
# if: ${{ github.event_name == 'push' }}
# shell: bash
# run: |
# - name: Setup Environment (Push)
# if: ${{ github.event_name == 'push' }}
# shell: bash
# run: |
# echo "LAST_COMMIT_SHA=$(git rev-parse --short ${GITHUB_SHA})" >> ${GITHUB_ENV}
# echo "HEAD_REF=${{ github.head_ref }}" >> ${GITHUB_ENV}

Expand All @@ -312,4 +312,4 @@ jobs:
# cd chuck/netsim
# d=$(cat report_metro.txt)
# metro_data=$(printf "%s\n " "$d")
# echo "$metro_data"
# echo "$metro_data"
Loading
Loading