Skip to content

Commit

Permalink
socket api
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan561 committed Nov 23, 2023
1 parent 755c66d commit e47a8a1
Show file tree
Hide file tree
Showing 8 changed files with 5,466 additions and 2,942 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@ on:
types: [opened, synchronize, reopened]
push:
branches:
- master
- "*"
merge_group:
types: [checks_requested]

permissions:
contents: read
contents: read

env:
env:
MSRV: 1.69.0

jobs:

macos:
runs-on: macos-13
env:
env:
TARGET: x86_64-apple-darwin
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup Rust
uses: dtolnay/rust-toolchain@master
with:
with:
toolchain: '${{ env.MSRV }}'
components: clippy

Expand All @@ -48,7 +48,7 @@ jobs:
# Use cross for QEMU-based testing
# cross needs to execute Docker, GitHub Action already has it installed
cross:
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04
needs: [rustfmt, minver, macos, linux_native_builds, rust_stable]
strategy:
fail-fast: false
Expand All @@ -71,7 +71,7 @@ jobs:

- name: setup Rust
uses: dtolnay/rust-toolchain@master
with:
with:
toolchain: '${{ env.MSRV }}'
components: clippy

Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:

- name: setup Rust
uses: dtolnay/rust-toolchain@master
with:
with:
toolchain: '${{ env.MSRV }}'
components: clippy

Expand All @@ -140,15 +140,15 @@ jobs:

rust_stable:
runs-on: ubuntu-20.04
env:
env:
TARGET: x86_64-unknown-linux-gnu
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup Rust
uses: dtolnay/rust-toolchain@stable
with:
with:
components: clippy

- name: build
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- target: x86_64-unknown-illumos
# Cross claims to support running tests on iOS, but it actually doesn't.
# https://github.com/rust-embedded/cross/issues/535
- target: aarch64-apple-ios
- target: aarch64-apple-ios
# cargo hack tries to invoke the iphonesimulator SDK for iOS
NOHACK: true
# Cross claims to support Linux powerpc64, but it really doesn't.
Expand All @@ -204,7 +204,7 @@ jobs:

- name: setup Rust
uses: dtolnay/rust-toolchain@master
with:
with:
toolchain: '${{ env.MSRV }}'
components: clippy

Expand All @@ -220,12 +220,12 @@ jobs:

- name: before_cache_script
run: rm -rf $CARGO_HOME/registry/index


redox:
runs-on: ubuntu-20.04
needs: [rustfmt, minver, macos, linux_native_builds, rust_stable]
env:
env:
TARGET: x86_64-unknown-redox
CLIPPYFLAGS: -D warnings
BUILD: check
Expand All @@ -236,9 +236,9 @@ jobs:
- name: setup Rust
# Redox's MSRV policy is unclear. Until they define it, use nightly.
uses: dtolnay/rust-toolchain@nightly
with:
with:
components: clippy

- name: install targets
run: rustup target add ${{ env.TARGET }}

Expand All @@ -251,13 +251,13 @@ jobs:

- name: before_cache_script
run: rm -rf $CARGO_HOME/registry/index



# Rust Tier 3 targets can't use Rustup
tier3:
runs-on: ubuntu-20.04
env:
env:
BUILD: check
ZFLAGS: -Zbuild-std
CLIPPYFLAGS: -D warnings
Expand All @@ -277,7 +277,7 @@ jobs:

- name: setup Rust
uses: dtolnay/rust-toolchain@nightly
with:
with:
components: clippy

- name: install src
Expand All @@ -300,7 +300,7 @@ jobs:
# rand, can't build with their own minimal dependencies.
minver:
runs-on: ubuntu-20.04
env:
env:
TARGET: x86_64-unknown-linux-gnu
steps:
- name: checkout
Expand All @@ -309,7 +309,7 @@ jobs:
- name: setup Rust
uses: dtolnay/rust-toolchain@nightly

- name: setup
- name: setup
run: cargo update -Zminimal-versions

- name: check
Expand Down
Loading

0 comments on commit e47a8a1

Please sign in to comment.