Skip to content

Commit

Permalink
change order and disable arm release
Browse files Browse the repository at this point in the history
  • Loading branch information
woelper committed Jan 12, 2025
1 parent 5465626 commit 1ad1d5d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-14, ubuntu-latest, macos-12]
os: [ubuntu-20.04, windows-2019, macos-14, macos-12, ubuntu-latest]
rust: [stable]
steps:
- uses: actions/checkout@v4
Expand All @@ -61,11 +61,11 @@ jobs:
zip -r oculante_armv7_minimal.zip target/armv7-unknown-linux-gnueabihf/release/oculante
if: matrix.os == 'ubuntu-latest'

- name: Cross-compile arm64
run: |
cross build --release --target aarch64-unknown-linux-gnu --no-default-features --features notan/glsl-to-spirv
zip -r oculante_aarch64_minimal.zip target/aarch64-unknown-linux-gnu/release/oculante
if: matrix.os == 'ubuntu-latest'
# - name: Cross-compile arm64
# run: |
# cross build --release --target aarch64-unknown-linux-gnu --no-default-features --features notan/glsl-to-spirv
# zip -r oculante_aarch64_minimal.zip target/aarch64-unknown-linux-gnu/release/oculante
# if: matrix.os == 'ubuntu-latest'

- name: Install cargo bundle
run: cargo install cargo-bundle
Expand Down Expand Up @@ -188,17 +188,17 @@ jobs:
asset_name: oculante_linux_armv7_minimal.zip
asset_content_type: application/zip

- name: Upload ARM64 Release
if: matrix.os == 'ubuntu-latest'
id: upload-release-arm64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release_job.outputs.upload_url }}
asset_path: oculante_aarch64_minimal.zip
asset_name: oculante_linux_aarch64_minimal.zip
asset_content_type: application/zip
# - name: Upload ARM64 Release
# if: matrix.os == 'ubuntu-latest'
# id: upload-release-arm64
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ needs.release_job.outputs.upload_url }}
# asset_path: oculante_aarch64_minimal.zip
# asset_name: oculante_linux_aarch64_minimal.zip
# asset_content_type: application/zip

- name: Upload Linux 20.04 Release zip
if: matrix.os == 'ubuntu-20.04'
Expand Down

0 comments on commit 1ad1d5d

Please sign in to comment.