mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-27 10:31:31 +00:00
34 lines
602 B
YAML
34 lines
602 B
YAML
name: Ubuntu
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Fetch dependencies
|
|
run: go get -d ./...
|
|
|
|
- name: Build
|
|
run: go build
|
|
|
|
nix-build:
|
|
name: nix-build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Install Nix
|
|
run: |
|
|
curl -L https://nixos.org/nix/install | sh
|
|
. ~/.nix-profile/etc/profile.d/nix.sh
|
|
nix-channel --update
|
|
|
|
- name: Build
|
|
run: |
|
|
. ~/.nix-profile/etc/profile.d/nix.sh
|
|
make nix
|