Skip to content

Commit

Permalink
try flyci
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed Feb 24, 2024
1 parent 923f29e commit 3281b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-nix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
runs:
using: composite
steps:
- uses: nixbuild/nix-quick-install-action@v26
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: postgrest
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-latest
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@v4
- 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
- name: Save built executable as artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 3281b45

Please sign in to comment.