Skip to content

chore: clean up ci #1

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

Merged
merged 1 commit into from
Oct 22, 2024
Merged
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
43 changes: 0 additions & 43 deletions .github/workflows/beta.yaml

This file was deleted.

115 changes: 1 addition & 114 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,54 +146,7 @@ jobs:
run: cross test --all --target ${{ matrix.target }} -- --test-threads=12
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG' }}


# wasm_build:
# name: Build wasm32
# runs-on: ubuntu-latest
# steps:
# - name: Checkout sources
# uses: actions/checkout@v4

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

# - name: Add wasm target
# run: rustup target add wasm32-unknown-unknown

# - name: wasm32 build
# run: cargo build --all-features --target wasm32-unknown-unknown

check_semver:
runs-on: ubuntu-latest
env:
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "on"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install sccache
uses: mozilla-actions/[email protected]

- name: Setup Environment (PR)
if: ${{ github.event_name == 'pull_request' }}
shell: bash
run: |
echo "HEAD_COMMIT_SHA=$(git rev-parse origin/${{ github.base_ref }})" >> ${GITHUB_ENV}
- name: Setup Environment (Push)
if: ${{ github.event_name == 'push' || github.event_name == 'merge_group' }}
shell: bash
run: |
echo "HEAD_COMMIT_SHA=$(git rev-parse origin/main)" >> ${GITHUB_ENV}
- name: Check semver
# uses: obi1kenobi/cargo-semver-checks-action@v2
uses: n0-computer/cargo-semver-checks-action@feat-baseline
with:
package: iroh, iroh-base, iroh-blobs, iroh-cli, iroh-dns-server, iroh-gossip, iroh-metrics, iroh-net, iroh-net-bench, iroh-docs
baseline-rev: ${{ env.HEAD_COMMIT_SHA }}
use-cache: false


check_fmt:
timeout-minutes: 30
name: Checking fmt
Expand Down Expand Up @@ -287,72 +240,6 @@ jobs:
command: check
command-arguments: "-Dwarnings"

# netsim-integration-tests:
# permissions: write-all
# if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
# uses: './.github/workflows/netsim_runner.yaml'
# secrets: inherit
# with:
# branch: ${{ github.ref }}
# max_workers: 4
# netsim_branch: "main"
# sim_paths: "sims/iroh/iroh.json,sims/integration"
# pr_number: ${{ github.event.pull_request.number || '' }}

# docker_build_and_test:
# name: Docker Test
# if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
# timeout-minutes: 30
# runs-on: [self-hosted, linux, X64]
# steps:
# - name: Checkout
# uses: actions/checkout@v4

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

# - name: Install sccache
# uses: mozilla-actions/[email protected]

# - name: Prep
# run: sudo apt-get install musl-tools -y

# - name: Build iroh
# run: cargo build --profile=dev-ci --all-features --bin iroh --target x86_64-unknown-linux-musl

# - name: Prep bins
# run: |
# mkdir -p bins/linux/amd64
# cp target/x86_64-unknown-linux-musl/dev-ci/iroh bins/linux/amd64/iroh

# - name: Cleanup Docker
# continue-on-error: true
# run: |
# docker kill $(docker ps -q)

# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

# - name: Build Docker image
# uses: docker/build-push-action@v6
# with:
# context: .
# push: false
# load: true
# tags: n0computer/iroh-test:latest
# target: iroh
# platforms: linux/amd64
# file: docker/Dockerfile.ci

# - name: Run Docker image & stats test
# run: |
# docker run -p 9090:9090 -p 4919:4919/udp -Pd n0computer/iroh-test:latest --rpc-addr 0.0.0.0:4919 start
# # Give the server time to start
# sleep 3
# target/x86_64-unknown-linux-musl/dev-ci/iroh --rpc-addr 127.0.0.1:4919 stats

codespell:
timeout-minutes: 30
runs-on: ubuntu-latest
Expand Down
115 changes: 0 additions & 115 deletions .github/workflows/docker.yaml

This file was deleted.

Loading
Loading