Skip to content

Use one FPC for all supported architectures #1

Use one FPC for all supported architectures

Use one FPC for all supported architectures #1

name: Build toolchains for all supported architectures
on:
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
nix-matrix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v29
- name: Restore and save Nix store
uses: nix-community/cache-nix-action@v5
with:
primary-key: primary-key: build-${{ runner.os }}-${{ hashFiles('flake.nix') }}

Check failure on line 18 in .github/workflows/build-toolchain.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-toolchain.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- name: Build fpc-3_2_2
run: |
nix build --verbose --show-trace --print-build-logs --print-out-paths .#universal.__archPkgs.fpc-3_2_2
- name: Build fpc-trunk
run: |
nix build --verbose --show-trace --print-build-logs --print-out-paths .#universal.__archPkgs.fpc-trunk
- name: Build lazarus-3_6
run: |
nix build --verbose --show-trace --print-build-logs --print-out-paths .#universal.__archPkgs.lazarus-3_6