fix: iphone compat #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-CD | |
on: | |
push: | |
jobs: | |
precommit: | |
name: Pre-commit Check | |
runs-on: | |
- nscloud-ubuntu-22.04-amd64-4x8-with-cache | |
- nscloud-cache-size-50gb | |
- nscloud-cache-tag-ester-argon-nix-store-cache | |
- nscloud-git-mirror-1gb | |
steps: | |
# Setup | |
- uses: AtomiCloud/[email protected] | |
- uses: AtomiCloud/[email protected] | |
# Action | |
- name: Run pre-commit | |
run: nix develop .#ci -c ./scripts/ci/pre-commit.sh | |
build: | |
name: Build | |
runs-on: | |
- nscloud-ubuntu-22.04-amd64-4x8-with-cache | |
- nscloud-cache-size-50gb | |
- nscloud-cache-tag-ester-argon-nix-store-cache | |
- nscloud-git-mirror-1gb | |
steps: | |
# Setup | |
- uses: AtomiCloud/[email protected] | |
- uses: AtomiCloud/[email protected] | |
# Action | |
- name: Run pre-commit | |
run: nix develop .#ci -c ./scripts/ci/build.sh | |
release: | |
name: Semantic Release | |
needs: | |
- precommit | |
- build | |
if: github.ref == 'refs/heads/main' | |
runs-on: | |
- nscloud-ubuntu-22.04-amd64-4x8-with-cache | |
- nscloud-cache-size-50gb | |
- nscloud-cache-tag-releaser-ester-zinc-nix-store-cache | |
- nscloud-git-mirror-1gb | |
steps: | |
# Setup | |
- uses: AtomiCloud/[email protected] | |
- uses: AtomiCloud/[email protected] | |
# Action | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: nix develop .#releaser -c scripts/ci/release.sh |