Skip to content

feat(guide): guide on how to use x4 to deploy a website #19

feat(guide): guide on how to use x4 to deploy a website

feat(guide): guide on how to use x4 to deploy a website #19

Workflow file for this run

name: Nix build test
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
# ensure that the workflow is only triggered once per PR, subsequent pushes to the PR will cancel
# and restart the workflow. See https://docs.github.com/en/actions/using-jobs/using-concurrency
# concurrency:
# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
# cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
arch:
- x86_64
- aarch64
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix package manager
uses: DeterminateSystems/nix-installer-action@main
- name: Setup Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build
run: |
nix build