Skip to content

Commit

Permalink
remove armv7 and aarch build
Browse files Browse the repository at this point in the history
  • Loading branch information
hardliner66 committed Apr 16, 2024
1 parent fd856db commit eb240f0
Showing 1 changed file with 0 additions and 64 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,67 +92,3 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_paths: '["./target/release/gores-generator.exe"]'

build-other:
runs-on: ubuntu-20.04
needs: release
strategy:
matrix:
include:
- arch: aarch64
distro: ubuntu20.04
- arch: armv7
distro: ubuntu20.04

steps:
- uses: uraimo/run-on-arch-action@v2
name: Build artifact
id: build
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}

# Not required, but speeds up builds
githubToken: ${{ secrets.GITHUB_TOKEN }}

# Create an artifacts directory
setup: |
mkdir -p "${PWD}/artifacts"
# Mount the artifacts directory as /artifacts in the container
dockerRunArgs: |
--volume "${PWD}/artifacts:/artifacts"
# Pass some environment variables to the container
env: | # YAML, but pipe character is necessary
artifact_name: gores-generator-${{ matrix.distro }}_${{ matrix.arch }}
# The shell to run commands with in the container
shell: /bin/sh

# Install some dependencies in the container. This speeds up builds if
# you are also using githubToken. Any dependencies installed here will
# be part of the container image that gets cached, so subsequent
# builds don't have to re-install them. The image layer is cached
# publicly in your project's package repository, so it is vital that
# no secrets are present in the container state or logs.
install: |
apt-get update -q -y
apt-get install -q -y git curl
curl https://sh.rustup.rs -sSf | sh -s -- -y
# Produce a binary artifact and place it in the mounted volume
run: |
. $HOME/.cargo/env
cargo build --release
cp target/release/gores-generator "/artifacts/${artifact_name}"
echo "Produced artifact at /artifacts/${artifact_name}"
- name: Upload release
id: upload-release-other
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_paths: '["./artifacts/*"]'

0 comments on commit eb240f0

Please sign in to comment.