Skip to content

Commit

Permalink
ci: disable strict checks when building PHP with all extensions enabl…
Browse files Browse the repository at this point in the history
…ed until broken ones (eg: couchbase) are fixed upstream
  • Loading branch information
drupol committed Jul 24, 2023
1 parent b75209a commit 658a297
Showing 1 changed file with 3 additions and 32 deletions.
35 changes: 3 additions & 32 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
nix eval --json --impure --expr 'builtins.filter (x: builtins.substring 0 3 x == "php") (builtins.attrNames (import ./.).packages.x86_64-linux)'
) >> $GITHUB_OUTPUT
buildPhP:
build:
name: "${{ matrix.phps }} on ${{ matrix.archs.arch }}"
needs: [determine-matrix]
runs-on: ${{ matrix.archs.os }}
Expand Down Expand Up @@ -69,37 +69,8 @@ jobs:
run: |
nix build .#env-${{ matrix.phps }}
buildPhPWithAllExtensions:
name: "${{ matrix.phps }} with all extensions on ${{ matrix.archs.arch }}"
needs: [determine-matrix]
runs-on: ${{ matrix.archs.os }}
strategy:
fail-fast: false
matrix:
phps: ${{fromJson(needs.determine-matrix.outputs.phps)}}
archs:
[
{ os: ubuntu-latest, arch: x86_64-linux },
{ os: macOS-latest, arch: x86_64-darwin },
]

steps:
- name: Set up Git repository
uses: actions/checkout@v3

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main

- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main

- uses: cachix/cachix-action@v12
with:
name: nix-shell
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
extraPullNames: fossar

- name: Build all extensions
- name: Build ${{ matrix.phps }} with all extensions enabled
continue-on-error: true
run: |
NIXPKGS_ALLOW_BROKEN=1 \
NIXPKGS_ALLOW_UNFREE=1 \
Expand Down

0 comments on commit 658a297

Please sign in to comment.