Skip to content

Commit

Permalink
CI: DIsable aarch64-linux, since it's not available for free...
Browse files Browse the repository at this point in the history
  • Loading branch information
noamraph committed Aug 16, 2024
1 parent 04d653e commit b329ab4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
build-x86_64-linux:
uses: ./.github/workflows/build-x86_64-linux.yml

build-aarch64-linux:
uses: ./.github/workflows/build-aarch64-linux.yml
# build-aarch64-linux:
# uses: ./.github/workflows/build-aarch64-linux.yml

lints:
name: Lints
Expand Down Expand Up @@ -65,20 +65,20 @@ jobs:
run: nixsa-build/check_tarball.py nixsa.tar.xz


run-aarch64-linux:
name: Run aarch64 Linux
runs-on: namespace-profile-default-arm64
needs: [lints, build-aarch64-linux]
permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v3
- name: Restore Github cache artifacts
uses: actions/cache/restore@v3
with:
path: nixsa.tar.xz
key: aarch64-linux-artifacts-${{ github.sha }}
- name: Check tarball
run: nixsa-build/check_tarball.py nixsa.tar.xz
# run-aarch64-linux:
# name: Run aarch64 Linux
# runs-on: namespace-profile-default-arm64
# needs: [lints, build-aarch64-linux]
# permissions:
# id-token: "write"
# contents: "read"
# steps:
# - uses: actions/checkout@v3
# - name: Restore Github cache artifacts
# uses: actions/cache/restore@v3
# with:
# path: nixsa.tar.xz
# key: aarch64-linux-artifacts-${{ github.sha }}
# - name: Check tarball
# run: nixsa-build/check_tarball.py nixsa.tar.xz

24 changes: 12 additions & 12 deletions .github/workflows/release-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
uses: ./.github/workflows/build-x86_64-linux.yml
with:
cache-key: release-x86_64-linux-artifacts-${{ github.sha }}
build-aarch64-linux:
uses: ./.github/workflows/build-aarch64-linux.yml
with:
cache-key: release-aarch64-linux-artifacts-${{ github.sha }}
# build-aarch64-linux:
# uses: ./.github/workflows/build-aarch64-linux.yml
# with:
# cache-key: release-aarch64-linux-artifacts-${{ github.sha }}

release:
runs-on: ubuntu-latest
needs:
- build-x86_64-linux
- build-aarch64-linux
# - build-aarch64-linux
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -40,13 +40,13 @@ jobs:
- name: Move artifact to artifacts directory
run: mv ./nixsa.tar.xz ./artifacts/nixsa-x86_64-linux.tar.xz

- name: Fetch cached aarch64-linux binary
uses: actions/cache/restore@v3
with:
path: nixsa.tar.xz
key: release-aarch64-linux-artifacts-${{ github.sha }}
- name: Move artifact to artifacts directory
run: mv ./nixsa.tar.xz ./artifacts/nixsa-aarch64-linux.tar.xz
# - name: Fetch cached aarch64-linux binary
# uses: actions/cache/restore@v3
# with:
# path: nixsa.tar.xz
# key: release-aarch64-linux-artifacts-${{ github.sha }}
# - name: Move artifact to artifacts directory
# run: mv ./nixsa.tar.xz ./artifacts/nixsa-aarch64-linux.tar.xz

- name: Publish Release to GitHub (Tag)
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit b329ab4

Please sign in to comment.