Skip to content

Commit

Permalink
try flyci
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed May 4, 2024
1 parent 6209dab commit 18f101b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-nix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ inputs:
runs:
using: composite
steps:
- uses: nixbuild/nix-quick-install-action@60e9c39264d4714139af3cdf15f691b19eec3530 # v28
- uses: cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be # v14
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: postgrest
authToken: ${{ inputs.authToken }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,15 @@ jobs:
docker: postgrest-linux-docker-x64

- name: MacOS
runs-on: macos-12
runs-on: flyci-macos-large-latest-m1
artifact: postgrest-macos-static-x64
docker: postgrest-macos-docker-x64
volume: disk1

name: Nix - ${{ matrix.name }} static
runs-on: ${{ matrix.runs-on }}
#env:
#NIX_VOLUME_USE_SPECIAL: ${{ matrix.volume }}
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Nix Environment
Expand All @@ -54,7 +57,7 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Build static executable
run: nix-build -A postgrestStatic
run: nix-build -j6 -A postgrestStatic --keep-going 2>&1 | grep '^error:'
- name: Save built executable as artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
Expand Down

0 comments on commit 18f101b

Please sign in to comment.