From 5b48457beb82b38f1a003af1ee34a3a7ad291af1 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Thu, 18 Jan 2024 06:52:34 +0000 Subject: removed github workflows --- .github/dependabot.yml | 6 ---- .github/workflows/release.yml | 67 ------------------------------------------- .github/workflows/rust.yml | 67 ------------------------------------------- prepare_binaries.sh | 13 --------- 4 files changed, 153 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/rust.yml delete mode 100755 prepare_binaries.sh diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 2cebf5b..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "cargo" - directory: "/" - schedule: - interval: "monthly" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index a5928d0..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: release -on: - push: - tags: - - "[0-9]+.[0-9]+.[0-9]+" - -jobs: - build-linux: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Install latest nightly - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - - - name: Build binaries - run: ./prepare_binaries.sh linux - - - uses: actions/upload-artifact@master - with: - name: dotup-linux-x64 - path: dotup_x86_64-unknown-linux-musl - - build-macos: - runs-on: macos-12 - - steps: - - uses: actions/checkout@v3 - - - name: Install latest nightly - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - - - name: Build binaries - run: ./prepare_binaries.sh macos - - - uses: actions/upload-artifact@master - with: - name: dotup-macos-x64 - path: dotup_x86_64-apple-darwin - - release: - runs-on: ubuntu-latest - needs: [build-linux, build-macos] - steps: - - name: Download linux binary - uses: actions/download-artifact@master - with: - name: dotup-linux-x64 - path: . - - - name: Download macos binary - uses: actions/download-artifact@master - with: - name: dotup-macos-x64 - path: . - - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: dotup_* diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 18ac596..0000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Rust - -on: [push, pull_request] - -env: - CARGO_TERM_COLOR: always - -jobs: - check: - name: Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - override: true - - uses: actions-rs/cargo@v1 - with: - command: check - - test: - name: Test Suite - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - override: true - - uses: actions-rs/cargo@v1 - with: - command: test - - fmt: - name: Rustfmt - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - override: true - - run: rustup component add rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - - clippy: - name: Clippy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - override: true - - run: rustup component add clippy - - uses: actions-rs/cargo@v1 - with: - command: clippy - args: -- -D warnings diff --git a/prepare_binaries.sh b/prepare_binaries.sh deleted file mode 100755 index ad74552..0000000 --- a/prepare_binaries.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ "$1" = "linux" ]; then - rustup target install x86_64-unknown-linux-musl || exit 1 - cargo build --target-dir target/ --target x86_64-unknown-linux-musl --release || exit 1 - mv target/x86_64-unknown-linux-musl/release/dotup "dotup_x86_64-unknown-linux-musl" -fi - -if [ "$1" = "macos" ]; then - rustup target install x86_64-apple-darwin || exit 1 - cargo build --target-dir target/ --target x86_64-apple-darwin --release || exit 1 - mv target/x86_64-apple-darwin/release/dotup "dotup_x86_64-apple-darwin" -fi -- cgit