-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README.md: use arduino-ci from nixpkgs
Now that arduino-ci is packaged in nixpkgs, we do not need to clone the repository to run it!
- Loading branch information
RyanTM (Pololu)
committed
Dec 14, 2020
1 parent
709412b
commit 2ed58cd
Showing
1 changed file
with
2 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,11 +26,6 @@ jobs: | |
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
- name: Checkout arduino-ci | ||
uses: actions/[email protected] | ||
with: | ||
repository: pololu/arduino-ci | ||
path: ci | ||
- name: Cache for arduino-ci | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -39,7 +34,7 @@ jobs: | |
key: ${{ runner.os }}-arduino | ||
- name: Install nix | ||
uses: cachix/install-nix-action@v12 | ||
- run: ci/ci | ||
- run: nix-shell -I nixpkgs=channel:nixpkgs-unstable -p arduino-ci --run "arduino-ci" | ||
``` | ||
## Gitlab example | ||
|
@@ -55,9 +50,7 @@ stages: | |
ci: | ||
stage: ci | ||
script: | ||
- nix-env -f https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz -iA git bash | ||
- git clone https://github.com/pololu/arduino-ci ci | ||
- ci/ci | ||
- nix-shell -I nixpkgs=channel:nixpkgs-unstable -p arduino-ci --run "arduino-ci" | ||
``` | ||
|
||
# Defaults | ||
|