diff --git a/.github/workflows/binary-build.yml b/.github/workflows/binary-build.yml deleted file mode 100644 index 075f757..0000000 --- a/.github/workflows/binary-build.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Binary build - -on: - push: - branch: - - 'main' - - 'stable' - -env: - CARGO_TERM_COLOR: always - -jobs: - - cross-build: - name: Publish binary builds - runs-on: ubuntu-latest - strategy: - matrix: - target: ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "armv7-unknown-linux-gnueabihf", "x86_64-pc-windows-gnu"] - steps: - - uses: actions/checkout@v2 - - name: Install rust 1.70.0 - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.70.0 - override: true - - name: Download renamer - run: curl -sSf https://raw.githubusercontent.com/memflow/memflowup/master/target_rename.sh > target_rename.sh - - name: Build artifacts - uses: actions-rs/cargo@v1 - with: - use-cross: true - command: build - args: --release --all-features --workspace --verbose --target ${{ matrix.target }} - - name: Rename and collect artifacts - id: artifacts - run: echo "::set-output name=artifact::$(sh ./target_rename.sh "${{ matrix.target }}" | head -n 1)" - - name: Upload build artifacts - uses: softprops/action-gh-release@v1 - with: - tag_name: bin-${{ github.ref_name }} - files: | - ${{ steps.artifacts.outputs.artifact }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6418a44..348ae4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,8 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: toolchain: stable - targets: aarch64-unknown-linux-gnu, arm-unknown-linux-gnu + targets: aarch64-unknown-linux-gnu - run: cargo build --target aarch64-unknown-linux-gnu ${{ matrix.flags }} --release - - run: cargo build --target arm-unknown-linux-gnu ${{ matrix.flags }} --release test: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/release.yml b/.github/workflows/deploy.yml similarity index 100% rename from .github/workflows/release.yml rename to .github/workflows/deploy.yml