Skip to content

Commit

Permalink
Skip running the nix server on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
z8v committed Aug 27, 2023
1 parent f3ee307 commit 005c0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
common:ci --announce_rc=false
EOF
- name: Start remote Nix server
if: ${{ matrix.withNixRemote }} == "true"
if: ${{ matrix.withNixRemote }} == "true" && ${{ matrix.os }} == "ubuntu-latest"
run: |
# Generate temporary SSH keys.
mkdir -p $HOME/.ssh
mkdir -p .github/nix-server/keys
ssh-keygen -t ed25519 -f .github/nix-server/keys/ci -C ci-nix-server -q -N ""
docker build -t nix-server -f .github/nix-server/Dockerfile .
docker run -p 2222:22 nix-server
docker run -d -p 2222:22 nix-server
cp .github/nix-server/config $HOME/.ssh/config
- name: Build & test
Expand Down

0 comments on commit 005c0ca

Please sign in to comment.