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
|
2020-01-05 06:29:26 +00:00
|
|
|
|
|
|
|
live-iso:
|
|
|
|
name: Live ISO
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
- name: Install Nix
|
|
|
|
run: |
|
|
|
|
curl https://nixos.org/nix/install | sh
|
|
|
|
. ~/.nix-profile/etc/profile.d/nix.sh
|
|
|
|
nix-channel --update
|
|
|
|
|
|
|
|
- name: Generate Live ISO
|
|
|
|
run: |
|
|
|
|
. ~/.nix-profile/etc/profile.d/nix.sh
|
|
|
|
make -C os live-iso
|
2020-01-05 07:02:34 +00:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: $Placeholder OS Live ISO
|
|
|
|
path: os/appvm.iso
|