Skip to content

Commit 45fddd8

Browse files
authored
Merge pull request #1 from n0-computer/arqu/ci
chore: clean up ci
2 parents d31be75 + a5a7dab commit 45fddd8

File tree

5 files changed

+1
-638
lines changed

5 files changed

+1
-638
lines changed

.github/workflows/beta.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 1 addition & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -146,54 +146,7 @@ jobs:
146146
run: cross test --all --target ${{ matrix.target }} -- --test-threads=12
147147
env:
148148
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG' }}
149-
150-
151-
# wasm_build:
152-
# name: Build wasm32
153-
# runs-on: ubuntu-latest
154-
# steps:
155-
# - name: Checkout sources
156-
# uses: actions/checkout@v4
157-
158-
# - name: Install stable toolchain
159-
# uses: dtolnay/rust-toolchain@stable
160-
161-
# - name: Add wasm target
162-
# run: rustup target add wasm32-unknown-unknown
163-
164-
# - name: wasm32 build
165-
# run: cargo build --all-features --target wasm32-unknown-unknown
166-
167-
check_semver:
168-
runs-on: ubuntu-latest
169-
env:
170-
RUSTC_WRAPPER: "sccache"
171-
SCCACHE_GHA_ENABLED: "on"
172-
steps:
173-
- uses: actions/checkout@v4
174-
with:
175-
fetch-depth: 0
176-
- name: Install sccache
177-
uses: mozilla-actions/[email protected]
178-
179-
- name: Setup Environment (PR)
180-
if: ${{ github.event_name == 'pull_request' }}
181-
shell: bash
182-
run: |
183-
echo "HEAD_COMMIT_SHA=$(git rev-parse origin/${{ github.base_ref }})" >> ${GITHUB_ENV}
184-
- name: Setup Environment (Push)
185-
if: ${{ github.event_name == 'push' || github.event_name == 'merge_group' }}
186-
shell: bash
187-
run: |
188-
echo "HEAD_COMMIT_SHA=$(git rev-parse origin/main)" >> ${GITHUB_ENV}
189-
- name: Check semver
190-
# uses: obi1kenobi/cargo-semver-checks-action@v2
191-
uses: n0-computer/cargo-semver-checks-action@feat-baseline
192-
with:
193-
package: iroh, iroh-base, iroh-blobs, iroh-cli, iroh-dns-server, iroh-gossip, iroh-metrics, iroh-net, iroh-net-bench, iroh-docs
194-
baseline-rev: ${{ env.HEAD_COMMIT_SHA }}
195-
use-cache: false
196-
149+
197150
check_fmt:
198151
timeout-minutes: 30
199152
name: Checking fmt
@@ -287,72 +240,6 @@ jobs:
287240
command: check
288241
command-arguments: "-Dwarnings"
289242

290-
# netsim-integration-tests:
291-
# permissions: write-all
292-
# if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
293-
# uses: './.github/workflows/netsim_runner.yaml'
294-
# secrets: inherit
295-
# with:
296-
# branch: ${{ github.ref }}
297-
# max_workers: 4
298-
# netsim_branch: "main"
299-
# sim_paths: "sims/iroh/iroh.json,sims/integration"
300-
# pr_number: ${{ github.event.pull_request.number || '' }}
301-
302-
# docker_build_and_test:
303-
# name: Docker Test
304-
# if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')"
305-
# timeout-minutes: 30
306-
# runs-on: [self-hosted, linux, X64]
307-
# steps:
308-
# - name: Checkout
309-
# uses: actions/checkout@v4
310-
311-
# - name: Install rust
312-
# uses: dtolnay/rust-toolchain@master
313-
# with:
314-
# toolchain: stable
315-
316-
# - name: Install sccache
317-
# uses: mozilla-actions/[email protected]
318-
319-
# - name: Prep
320-
# run: sudo apt-get install musl-tools -y
321-
322-
# - name: Build iroh
323-
# run: cargo build --profile=dev-ci --all-features --bin iroh --target x86_64-unknown-linux-musl
324-
325-
# - name: Prep bins
326-
# run: |
327-
# mkdir -p bins/linux/amd64
328-
# cp target/x86_64-unknown-linux-musl/dev-ci/iroh bins/linux/amd64/iroh
329-
330-
# - name: Cleanup Docker
331-
# continue-on-error: true
332-
# run: |
333-
# docker kill $(docker ps -q)
334-
335-
# - name: Set up Docker Buildx
336-
# uses: docker/setup-buildx-action@v3
337-
338-
# - name: Build Docker image
339-
# uses: docker/build-push-action@v6
340-
# with:
341-
# context: .
342-
# push: false
343-
# load: true
344-
# tags: n0computer/iroh-test:latest
345-
# target: iroh
346-
# platforms: linux/amd64
347-
# file: docker/Dockerfile.ci
348-
349-
# - name: Run Docker image & stats test
350-
# run: |
351-
# docker run -p 9090:9090 -p 4919:4919/udp -Pd n0computer/iroh-test:latest --rpc-addr 0.0.0.0:4919 start
352-
# # Give the server time to start
353-
# sleep 3
354-
# target/x86_64-unknown-linux-musl/dev-ci/iroh --rpc-addr 127.0.0.1:4919 stats
355-
356243
codespell:
357244
timeout-minutes: 30
358245
runs-on: ubuntu-latest

.github/workflows/docker.yaml

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)