Skip to content

Commit

Permalink
Merge pull request #6 from Anton-Latukha/2020-07-06-workflow-add-Nixp…
Browse files Browse the repository at this point in the history
…kgs-macOS

Workflow: add Nixpkgs-macOS
  • Loading branch information
Anton-Latukha authored Jul 6, 2020
2 parents 4abafe2 + 4b52fb7 commit 7b96cfa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/Nixpkgs-macOS.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Nixpkgs, macOS"
# Due to macOS is a side-build to test the platform, using nixos-unstable for additional long-term stability of it
on:
# On Git changes in PR
pull_request:
# On Git changes of the master
push:
branches:
- master
schedule:
# Every day at 04:45
- cron: "45 01 * * *"
jobs:
Nixpkgs_unstable_macOS:
name: NixOS-unstable, default GHC (8.8)
runs-on: macos-latest
continue-on-error: true
env:
useRev: "true"
rev: "nixos-unstable"
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v10
- name: Determined nix-build
run: ./build.sh
23 changes: 0 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v10
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Determined nix-build
run: ./build.sh
Nixpkgs_stable_Linux:
Expand All @@ -79,8 +77,6 @@ jobs:
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v10
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Determined nix-build
run: ./build.sh
Nixpkgs_SDist_Optimize_Benchmark_Haddock_GHC-8-10_Linux:
Expand All @@ -102,8 +98,6 @@ jobs:
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v10
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Determined nix-build
run: ./build.sh
Nixpkgs_GHCJS_Linux:
Expand All @@ -117,22 +111,5 @@ jobs:
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v10
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Determined nix-build
run: ./build.sh
Nixpkgs_unstable_macOS:
name: Nixpkgs, unstable, default (GHC 8.8), macOS
runs-on: macos-latest
continue-on-error: true
env:
rev: "nixpkgs-unstable"
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v10
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Determined nix-build
run: ./build.sh

0 comments on commit 7b96cfa

Please sign in to comment.