From a3612d21d164de14f4aeb4442ef747eb8fdfa8eb Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Fri, 28 Jun 2024 14:30:15 +0200 Subject: Remove GitHub build Project is migrating to Codeberg, so we remove GitHub related things. This includes bot the GitHub actions, but also the `devcontainers`. More information was added in the README, and a Makefile is provided for building the project. --- .github/workflows/release.yml | 27 --------------------------- .github/workflows/rust.yml | 32 -------------------------------- 2 files changed, 59 deletions(-) delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/rust.yml (limited to '.github/workflows') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 9024e47..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Release - -on: - push: - tags: - - "v*" - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Build - run: | - rustup target add wasm32-wasi - cargo build --release --target wasm32-wasi - - name: Optimize - run: | - sudo apt-get update && sudo apt-get install binaryen - wasm-opt target/wasm32-wasi/release/hdwallet.wasm -O4 -o target/hdwallet.wasm --strip-debug --strip-producers - - - name: Release - env: - GH_TOKEN: ${{ github.token }} - run: | - gh release create ${GITHUB_REF#refs/*/} -t ${GITHUB_REF#refs/*/} --generate-notes target/hdwallet.wasm diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 2ad8a78..0000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Rust - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -env: - CARGO_TERM_COLOR: always - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Lint - run: | - cargo fmt -- --check - cargo clippy --locked --all-targets -- -D warnings - - name: Test - run: | - cargo test - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build - run: | - rustup target add wasm32-wasi - cargo build --target wasm32-wasi -- cgit v1.2.3