1
0
Fork 0
appvm/.github/workflows/ubuntu.yml

34 lines
585 B
YAML
Raw Normal View History

2019-12-29 19:21:40 +00:00
name: Ubuntu
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
2019-12-29 19:28:59 +00:00
- name: Fetch dependencies
2019-12-29 19:31:12 +00:00
run: go get -d ./...
2019-12-29 19:28:59 +00:00
2019-12-29 19:21:40 +00:00
- name: Build
run: go build
2020-01-05 06:13:56 +00:00
nix-build:
name: nix-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Nix
2020-01-05 06:16:37 +00:00
run: |
curl https://nixos.org/nix/install | sh
. ~/.nix-profile/etc/profile.d/nix.sh
nix-channel --update
2020-01-05 06:13:56 +00:00
- name: Build
2020-01-05 06:16:37 +00:00
run: |
. ~/.nix-profile/etc/profile.d/nix.sh
make nix